diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-07-30 19:02:15 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:04 +0100 |
commit | 1949d41ac6fbd92f248a995a25aa4c91aced2ae8 (patch) | |
tree | 41ac0217ac4d8d32b15bb30c18ab22ce6730ee89 /src/session/sessionmanager.cpp | |
parent | Session Manager (diff) | |
download | rekonq-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/sessionmanager.cpp')
-rw-r--r-- | src/session/sessionmanager.cpp | 8 |
1 files changed, 4 insertions, 4 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(); } |