projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a6c4c
)
wpa_gui: Use dialog window type
author
Martin Kletzander
<mkletzan@redhat.com>
Wed, 29 Oct 2014 10:12:36 +0000
(11:12 +0100)
committer
Jouni Malinen
<j@w1.fi>
Sat, 1 Nov 2014 13:55:49 +0000
(15:55 +0200)
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
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
index
6bba8d2
..
91874d4
100644
(file)
--- 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);