diff options
-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) |