From 500af8ed3da3c18f3e652841ca43c7462a3e5772 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 3 Feb 2015 17:10:24 +0100 Subject: Bring windows to top more agressively --- src/pwgui/pwgui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pwgui/pwgui.cpp') diff --git a/src/pwgui/pwgui.cpp b/src/pwgui/pwgui.cpp index ace70e2..b9473aa 100644 --- a/src/pwgui/pwgui.cpp +++ b/src/pwgui/pwgui.cpp @@ -47,6 +47,10 @@ void PwGui::initializeUI(char *user) QRect desktopRect = QApplication::desktop()->screenGeometry(this); this->move( desktopRect.width()/2-this->width()/2, desktopRect.height()/2-this->height()/2 ); + this->show(); + this->showNormal(); + this->raise(); + this->activateWindow(); } // ____________________________________________________________________________ -- cgit v1.2.3-55-g7522