diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-28 17:59:58 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-28 17:59:58 (GMT) |
commit | 0eea2c98c8a26665a1a8c795dba62f8d1cf180a3 (patch) | |
tree | e02c5e8b92c87bd13431e6ec995e9cd485fef71c /Swift | |
parent | 84b88630a5acdc2f8ad46161d5eaaf1511cbc8d3 (diff) | |
download | swift-contrib-0eea2c98c8a26665a1a8c795dba62f8d1cf180a3.zip swift-contrib-0eea2c98c8a26665a1a8c795dba62f8d1cf180a3.tar.bz2 |
Quit when the last window is closed.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtLoginWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp index a222e8e..606db80 100644 --- a/Swift/QtUI/QtLoginWindow.cpp +++ b/Swift/QtUI/QtLoginWindow.cpp @@ -100,7 +100,7 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() { #else menuBar_ = menuBar(); #endif - QApplication::setQuitOnLastWindowClosed(false); + QApplication::setQuitOnLastWindowClosed(true); swiftMenu_ = new QMenu(tr("Swift"), this); |