diff options
Diffstat (limited to 'kate/app/kateappIface.cpp')
-rw-r--r-- | kate/app/kateappIface.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kate/app/kateappIface.cpp b/kate/app/kateappIface.cpp index 57f0b63d1..3ce9229b4 100644 --- a/kate/app/kateappIface.cpp +++ b/kate/app/kateappIface.cpp @@ -89,16 +89,17 @@ bool KateAppDCOPIface::openInput (TQString text) return m_app->openInput (text); } -bool KateAppDCOPIface::activateSession (TQString session) +bool KateAppDCOPIface::activateSession(TQString session) { - m_app->oldSessionManager()->activateSession (m_app->oldSessionManager()->giveSession (session)); +// MIKE: to fix +// m_app->sessionManager()->activateSession (m_app->oldSessionManager()->giveSession (session)); return true; } -const TQString & KateAppDCOPIface::session() const +const TQString& KateAppDCOPIface::session() const { - return m_app->oldSessionManager()->activeSession()->sessionName(); + return m_app->sessionManager()->getActiveSessionName(); } // kate: space-indent on; indent-width 2; replace-tabs on; |