summaryrefslogtreecommitdiff
path: root/src/sessionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionmanager.cpp')
-rw-r--r--src/sessionmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp
index 06bcb83a..f4e7cd3e 100644
--- a/src/sessionmanager.cpp
+++ b/src/sessionmanager.cpp
@@ -34,6 +34,7 @@
#include "application.h"
#include "mainwindow.h"
#include "mainview.h"
+#include "webtab.h"
// KDE Includes
#include <KStandardDirs>
@@ -76,7 +77,7 @@ void SessionManager::saveSession()
MainView *mv = w->mainView();
for (int i = 0 ; i < mv->count() ; i++)
{
- out << mv->webView(i)->url().toEncoded() << "\n";
+ out << mv->webTab(i)->url().toEncoded() << "\n";
}
}
sessionFile.close();