summaryrefslogtreecommitdiff
path: root/src/sessionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionmanager.cpp')
-rw-r--r--src/sessionmanager.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp
index 537d4453..8c781720 100644
--- a/src/sessionmanager.cpp
+++ b/src/sessionmanager.cpp
@@ -32,7 +32,6 @@
// Local Includes
#include "application.h"
-#include "autosaver.h"
#include "tabhistory.h"
#include "rekonqwindow.h"
@@ -158,26 +157,13 @@ SessionManager::SessionManager(QObject *parent)
: QObject(parent)
, m_safe(true)
, m_isSessionEnabled(false)
- , m_saveTimer(new AutoSaver(this))
{
- // AutoSaver. Save your hd from frying...
- connect(m_saveTimer, SIGNAL(saveNeeded()), this, SLOT(save()));
-
m_sessionFilePath = KStandardDirs::locateLocal("appdata" , "session");
}
void SessionManager::saveSession()
{
- if (!m_isSessionEnabled)
- return;
-
- m_saveTimer->changeOccurred();
-}
-
-
-void SessionManager::save()
-{
if (!m_isSessionEnabled || !m_safe)
return;