[Bug 259125] kleopatra server features should be disabled

Tobias Koenig tokoe at kde.org
Tue Jan 18 14:54:57 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=259125


Tobias Koenig <tokoe at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Tobias Koenig <tokoe kde org>  2011-01-18 15:54:56 ---
commit 254268ba5caf227360d4dc67c3c514280c41c06e
branch master
Author: Tobias Koenig <tokoe at kde.org>
Date:   Tue Jan 18 15:53:03 2011 +0100

    Shutdown kleopatra when closed via 'X' button

    Really close the kleopatra application on mobile
    devices when the user requested so via the 'X' button.

    BUG: 259125

diff --git a/kleopatra/mainwindow_mobile.cpp b/kleopatra/mainwindow_mobile.cpp
index e4cf2ab..9f47a3e 100644
--- a/kleopatra/mainwindow_mobile.cpp
+++ b/kleopatra/mainwindow_mobile.cpp
@@ -334,6 +334,9 @@ void MainWindow::Private::slotConfigCommitted() {
 }

 void MainWindow::closeEvent( QCloseEvent * e ) {
+
+    d->closeAndQuit();
+
     // KMainWindow::closeEvent() insists on quitting the application,
     // so do not let it touch the event...
     kDebug();

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list