Message ID | 506fafe6d0960408f4ca65d522c9d1b50b0e4cb6.1414577556.git.mkletzan@redhat.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Oct 29, 2014 at 11:12:36AM +0100, Martin Kletzander wrote: > This helps window managers treat the window properly. Mostly tiling WMs > are affected by this. All other windows inherit this option from > QDialog already. Thanks, applied.
diff --git a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp index 6bba8d2..91874d4 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);
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 <mkletzan@redhat.com> --- wpa_supplicant/wpa_gui-qt4/wpagui.cpp | 1 + 1 file changed, 1 insertion(+)