diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-18 18:44:09 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-03-18 18:44:09 +0100 |
commit | 41870e5bf5d1ee398c5cb00dee5d3a1864df1b36 (patch) | |
tree | fcac266985a0cf32dcc204de1271913e540521fb /src/sessionmanager.cpp | |
parent | Fix conditional compilation when compiled without activities (diff) | |
download | rekonq-41870e5bf5d1ee398c5cb00dee5d3a1864df1b36.tar.xz |
Remove the "AutoSaver" attempt :(
I tried to save disk writes. But everytime people is finding some saved
(or just delayed) saves that are NOT ok.
We'll see to find another way to...
BUG: 316938
Diffstat (limited to 'src/sessionmanager.cpp')
-rw-r--r-- | src/sessionmanager.cpp | 14 |
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; |