summaryrefslogtreecommitdiffstats
path: root/kate/app/kateappIface.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2015-10-23 17:59:00 +0700
committerMichele Calgaro <[email protected]>2015-10-23 17:59:00 +0700
commitde91a161b1555bca58c4c30c6367dcc38750ca17 (patch)
treeec3ebc67b5391bc395a365ca13f267593eb4f9df /kate/app/kateappIface.cpp
parentf0f642f6b23b9a38727944a6db194bf4d16f0377 (diff)
downloadtdebase-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.cpp4
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;