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/maingui/printergui.cpp | 4 ++++ src/pwgui/pwgui.cpp | 4 ++++ 2 files changed, 8 insertions(+) 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(); } // ____________________________________________________________________________ -- cgit v1.2.3-55-g7522