summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a12ec8f9..76684c31 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -40,6 +40,7 @@
#include "history.h"
#include "urlbar.h"
#include "webview.h"
+#include "sessionmanager.h"
// KDE Includes
#include <KUrl>
@@ -92,6 +93,9 @@ MainView::MainView(QWidget *parent)
setTabsClosable(true);
connect(m_tabBar, SIGNAL(tabCloseRequested(int)), this, SLOT(slotCloseTab(int)));
+
+ // Session Manager
+ connect (this,SIGNAL(tabsChanged()),Application::sessionManager(),SLOT(saveSession()));
}