summaryrefslogtreecommitdiff
path: root/src/session
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-30 19:02:15 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commit1949d41ac6fbd92f248a995a25aa4c91aced2ae8 (patch)
tree41ac0217ac4d8d32b15bb30c18ab22ce6730ee89 /src/session
parentSession Manager (diff)
downloadrekonq-1949d41ac6fbd92f248a995a25aa4c91aced2ae8.tar.xz
Restored Adblock moving hiding logic to the one used in kwebkitpart
This will let everyone to save time reinventing the wheel and let us remove webpage from adblockmanager code, but just manage it via (Q)NAM.
Diffstat (limited to 'src/session')
-rw-r--r--src/session/sessionmanager.cpp8
-rw-r--r--src/session/sessionmanager.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/session/sessionmanager.cpp b/src/session/sessionmanager.cpp
index 1ea5c133..771aca55 100644
--- a/src/session/sessionmanager.cpp
+++ b/src/session/sessionmanager.cpp
@@ -106,16 +106,16 @@ int loadTabs(TabWindow *tw, QDomElement & window, bool useFirstTab)
// -------------------------------------------------------------------------------------------------
-QWeakPointer<SessionManager> SessionManager::s_sessionyManager;
+QWeakPointer<SessionManager> SessionManager::s_sessionManager;
SessionManager *SessionManager::self()
{
- if (s_sessionyManager.isNull())
+ if (s_sessionManager.isNull())
{
- s_sessionyManager = new SessionManager(qApp);
+ s_sessionManager = new SessionManager(qApp);
}
- return s_sessionyManager.data();
+ return s_sessionManager.data();
}
diff --git a/src/session/sessionmanager.h b/src/session/sessionmanager.h
index 31afea82..abf39197 100644
--- a/src/session/sessionmanager.h
+++ b/src/session/sessionmanager.h
@@ -56,7 +56,7 @@ public:
/**
* Entry point.
* Access to SessionManager class by using
- * SessionyManager::self()->thePublicMethodYouNeed()
+ * SessionManager::self()->thePublicMethodYouNeed()
*/
static SessionManager *self();
@@ -97,7 +97,7 @@ private:
bool m_isSessionEnabled;
AutoSaver *m_saveTimer;
- static QWeakPointer<SessionManager> s_sessionyManager;
+ static QWeakPointer<SessionManager> s_sessionManager;
};