diff options
author | Slávek Banko <[email protected]> | 2013-02-16 17:04:37 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-02-16 17:04:47 +0100 |
commit | 56137a1306001e2ce7014282474e1032c143fa29 (patch) | |
tree | ca4c1015e376f9f6ffcaa1c46fae4b3d7ab89352 | |
parent | fefb9d145dfef89ed68494e8f01ba0c3880bddee (diff) | |
download | kaffeine-56137a1306001e2ce7014282474e1032c143fa29.tar.gz kaffeine-56137a1306001e2ce7014282474e1032c143fa29.zip |
Fix closing during saving session
-rw-r--r-- | kaffeine/src/kaffeine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kaffeine/src/kaffeine.cpp b/kaffeine/src/kaffeine.cpp index ca4b946..54d9df1 100644 --- a/kaffeine/src/kaffeine.cpp +++ b/kaffeine/src/kaffeine.cpp @@ -1523,7 +1523,9 @@ void Kaffeine::slotQuit() m_systemTray = NULL; }*/ - TDEApplication::exit(0); + if ( !kapp->sessionSaving() ) { + TDEApplication::exit(0); + } } void Kaffeine::closeEvent(TQCloseEvent* e) |