[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdebase/apps/konsole/src
From: Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date: 2010-06-04 12:58:51
Message-ID: 20100604125851.739DCAC8C9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1134494 by hindenburg:
Save character encoding to session management.
CCBUG: 221450
M +3 -0 Session.cpp
--- branches/KDE/4.4/kdebase/apps/konsole/src/Session.cpp #1134493:1134494
@@ -1206,6 +1206,7 @@
group.writePathEntry("WorkingDir", currentWorkingDirectory());
group.writeEntry("LocalTab", tabTitleFormat(LocalTabTitle));
group.writeEntry("RemoteTab", tabTitleFormat(RemoteTabTitle));
+ group.writeEntry("Encoding", QString(codec()));
}
void Session::restoreSession(KConfigGroup& group)
@@ -1218,6 +1219,8 @@
if (!value.isEmpty()) setTabTitleFormat(LocalTabTitle, value);
value = group.readEntry("RemoteTab");
if (!value.isEmpty()) setTabTitleFormat(RemoteTabTitle, value);
+ value = group.readEntry("Encoding");
+ if (!value.isEmpty()) setCodec(value.toUtf8());
}
SessionGroup::SessionGroup(QObject* parent)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic