diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-06-15 20:22:07 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-16 04:02:47 -0700 |
commit | 3f012f4bdbfc70cae16a40f4a22f3d635c2b0a4a (patch) | |
tree | 15a14a1205c9b3a327617ad52830b37297821a55 /profile-widget | |
parent | fed2a283b211fc7156678a118dd091fa2773ae76 (diff) | |
download | subsurface-3f012f4bdbfc70cae16a40f4a22f3d635c2b0a4a.tar.gz |
Cleanup: Don't clear WA_QuitOnClose attribute on dialogs
According to Qt's documentation, the application exits if all windows
with the WA_QuitOnClose attribute are closed. This attribute was cleared
for three dialogs. This seems not necessary because:
1) The application can't be closed as long as the modal dialog is shown.
2) The flag only concerns primary windows, which these are not.
See: http://doc.qt.io/qt-5/qguiapplication.html#quitOnLastWindowClosed-prop
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget')
0 files changed, 0 insertions, 0 deletions