summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-14 17:37:04 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-03-14 17:37:04 +0100
commit4c7fc6692b94c1239114801d07b59fd428a585f5 (patch)
treec4c9f3e91d47feed33b1e01ad7b692cdcf0d4601 /src/application.cpp
parentReverting changes in sslinfodialog as discussed with kdepepo. (diff)
downloadrekonq-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.cpp3
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();
}