summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/maingui/printergui.cpp4
-rw-r--r--src/pwgui/pwgui.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/maingui/printergui.cpp b/src/maingui/printergui.cpp
index bbe58c0..2724776 100644
--- a/src/maingui/printergui.cpp
+++ b/src/maingui/printergui.cpp
@@ -100,6 +100,10 @@ void PrinterGui::initializeUI()
ui->comboBoxSides->hide();
ui->label_color->hide();
ui->label_duplex->hide();
+ this->show();
+ this->showNormal();
+ this->raise();
+ this->activateWindow();
}
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();
}
// ____________________________________________________________________________