diff options
-rw-r--r-- | Swift/QtUI/QtLoginWindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp index dbe6bb2..8c29847 100644 --- a/Swift/QtUI/QtLoginWindow.cpp +++ b/Swift/QtUI/QtLoginWindow.cpp @@ -81,6 +81,7 @@ QtLoginWindow::QtLoginWindow(const String& defaultJID, const String& defaultPass connect(loginButton_, SIGNAL(clicked()), SLOT(loginClicked())); stack_->addWidget(wrapperWidget); menuBar_ = new QMenuBar(NULL); + QApplication::setQuitOnLastWindowClosed(false); swiftMenu_ = new QMenu(tr("Swift"), this); QAction* quitAction = new QAction("Quit", this); |