From 7db2ffc09f00f36839d42a15acb194b12cf19fa2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 28 Apr 2009 14:54:43 +0000 Subject: [PATCH] - Should fix logout cancelation on KDE --- src/GUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 59e068dc0..bc3070176 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -670,7 +670,8 @@ void GUI::closeEvent(QCloseEvent *e) { bool goToSystrayOnExit = settings.value(QString::fromUtf8("Preferences/General/CloseToTray"), false).toBool(); if(!force_exit && systrayIntegration && goToSystrayOnExit && !this->isHidden()) { hide(); - e->ignore(); + //e->ignore(); + e->accept(); return; } if(settings.value(QString::fromUtf8("Preferences/General/ExitConfirm"), true).toBool() && downloadingTorrentTab->getNbTorrentsInList()) {