summaryrefslogtreecommitdiffstats
path: root/kate/app/kateviewspace.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2016-03-10 15:46:16 +0100
committerMichele Calgaro <[email protected]>2016-03-10 15:46:16 +0100
commit758b7bda94c4af81bbfc4e884c22db974a7c12c0 (patch)
tree715bec5e5f8f8ffa1efb462aa28ed95158af3cb0 /kate/app/kateviewspace.cpp
parente528df3eb1ee48c55535fc09e7d016a83b38b02e (diff)
downloadtdebase-758b7bda94c4af81bbfc4e884c22db974a7c12c0.tar.gz
tdebase-758b7bda94c4af81bbfc4e884c22db974a7c12c0.zip
Kate session panel: added save and read-only functionality. Fixed up toolbar buttons status update.
Added ability to activate a session using the ENTER key. Some other code refactoring. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/app/kateviewspace.cpp')
-rw-r--r--kate/app/kateviewspace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/app/kateviewspace.cpp b/kate/app/kateviewspace.cpp
index 7e9622b67..a4066ee5a 100644
--- a/kate/app/kateviewspace.cpp
+++ b/kate/app/kateviewspace.cpp
@@ -114,7 +114,7 @@ void KateViewSpace::addView(Kate::View* v, bool show)
{
TQString vgroup = TQString("%1 %2").arg(m_group).arg(fn);
- KateSession *as = KateSessionManager::self()->getActiveSession();
+ const KateSession *as = KateSessionManager::self()->getActiveSession();
TDEConfig *asCfg = as->getConfig();
if (asCfg && asCfg->hasGroup(vgroup))
{