diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-28 19:29:06 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-28 19:29:06 (GMT) |
commit | 17444b1ad6e3a14b3fb3c194ba60042ad29c2c03 (patch) | |
tree | d30afa8681a4fb4c3be6862ebf171f1f67138461 | |
parent | a039c692131ff70fe2e65429cc37de21aa530fc2 (diff) | |
download | swift-contrib-17444b1ad6e3a14b3fb3c194ba60042ad29c2c03.zip swift-contrib-17444b1ad6e3a14b3fb3c194ba60042ad29c2c03.tar.bz2 |
Don't quit when the roster is hidden and there's no open chat window.
-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); |