summaryrefslogtreecommitdiffstats
path: root/src/pwgui/pwgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwgui/pwgui.cpp')
-rw-r--r--src/pwgui/pwgui.cpp4
1 files changed, 4 insertions, 0 deletions
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();
}
// ____________________________________________________________________________