diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 002f19d1..a2d428d7 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -495,6 +495,7 @@ bool Application::eventFilter(QObject* watched, QEvent* event) RekonqWindow *window = qobject_cast<RekonqWindow*>(watched); if (window) { + SessionManager::self()->saveSession(); m_rekonqWindows.removeOne(window); #ifdef HAVE_KACTIVITIES QString currentActivity = m_activityConsumer->currentActivity(); @@ -714,7 +715,7 @@ void Application::queryQuit() } } - // in case of just one window... + SessionManager::self()->setSessionManagementEnabled(false); quit(); } |