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 <mkletzan@redhat.com>
This commit is contained in:
parent
96a6c4c098
commit
6721909fb1
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ WpaGui::WpaGui(QApplication *_app, QWidget *parent, const char *, Qt::WFlags)
|
||||||
: QMainWindow(parent), app(_app)
|
: QMainWindow(parent), app(_app)
|
||||||
{
|
{
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
this->setWindowFlags(Qt::Dialog);
|
||||||
|
|
||||||
#ifdef CONFIG_NATIVE_WINDOWS
|
#ifdef CONFIG_NATIVE_WINDOWS
|
||||||
fileStopServiceAction = new QAction(this);
|
fileStopServiceAction = new QAction(this);
|
||||||
|
|
Loading…
Reference in a new issue