diff options
Diffstat (limited to 'src/session')
-rw-r--r-- | src/session/sessionmanager.cpp | 8 | ||||
-rw-r--r-- | src/session/sessionmanager.h | 4 |
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; }; |