diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-14 17:37:04 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-03-14 17:37:04 +0100 |
commit | 4c7fc6692b94c1239114801d07b59fd428a585f5 (patch) | |
tree | c4c9f3e91d47feed33b1e01ad7b692cdcf0d4601 /src/application.cpp | |
parent | Reverting changes in sslinfodialog as discussed with kdepepo. (diff) | |
download | rekonq-4c7fc6692b94c1239114801d07b59fd428a585f5.tar.xz |
Restore Session Manager updates on current tab changed && on window
close.
Lindsay, I probably "forgot" one your mail about Session Management
NOT working properly (sorry).
Hope this will fix it! Let me know :)
CCMAIL: lindsay.mathieson@gmail.com
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(); } |