From: Martin Kletzander Date: Wed, 29 Oct 2014 10:12:36 +0000 (+0100) Subject: wpa_gui: Use dialog window type X-Git-Tag: hostap_2_4~1177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6721909fb15796651fc803f653170215e005c236;p=thirdparty%2Fhostap.git wpa_gui: Use dialog window type This helps window managers treat the window properly. Mostly tiling WMs are affected by this. All other windows inherit this option from QDialog already. Signed-off-by: Martin Kletzander --- diff --git a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp index 6bba8d21a..91874d4a6 100644 --- a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp +++ b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp @@ -36,6 +36,7 @@ WpaGui::WpaGui(QApplication *_app, QWidget *parent, const char *, Qt::WFlags) : QMainWindow(parent), app(_app) { setupUi(this); + this->setWindowFlags(Qt::Dialog); #ifdef CONFIG_NATIVE_WINDOWS fileStopServiceAction = new QAction(this);