From 1949d41ac6fbd92f248a995a25aa4c91aced2ae8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 30 Jul 2012 19:02:15 +0200 Subject: 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. --- src/session/sessionmanager.cpp | 8 ++++---- src/session/sessionmanager.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/session') 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::s_sessionyManager; +QWeakPointer 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 s_sessionyManager; + static QWeakPointer s_sessionManager; }; -- cgit v1.2.1