diff options
author | Michele Calgaro <[email protected]> | 2015-10-23 17:59:00 +0700 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2015-10-23 17:59:00 +0700 |
commit | de91a161b1555bca58c4c30c6367dcc38750ca17 (patch) | |
tree | ec3ebc67b5391bc395a365ca13f267593eb4f9df /kate/app/kateappIface.cpp | |
parent | f0f642f6b23b9a38727944a6db194bf4d16f0377 (diff) | |
download | tdebase-de91a161b1555bca58c4c30c6367dcc38750ca17.tar.gz tdebase-de91a161b1555bca58c4c30c6367dcc38750ca17.zip |
Populated session panel. Now able to switch session within the new panel.
*** NOTE *** In this commit both the old and new session managers are active,
therefore funny things occasionally happen. Then won't be the case from the
next commit since the old session manager will be disabled.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/app/kateappIface.cpp')
-rw-r--r-- | kate/app/kateappIface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/app/kateappIface.cpp b/kate/app/kateappIface.cpp index 259e48b89..57f0b63d1 100644 --- a/kate/app/kateappIface.cpp +++ b/kate/app/kateappIface.cpp @@ -91,14 +91,14 @@ bool KateAppDCOPIface::openInput (TQString text) bool KateAppDCOPIface::activateSession (TQString session) { - m_app->sessionManager()->activateSession (m_app->sessionManager()->giveSession (session)); + m_app->oldSessionManager()->activateSession (m_app->oldSessionManager()->giveSession (session)); return true; } const TQString & KateAppDCOPIface::session() const { - return m_app->sessionManager()->activeSession()->sessionName(); + return m_app->oldSessionManager()->activeSession()->sessionName(); } // kate: space-indent on; indent-width 2; replace-tabs on; |