[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib
From: Christoph Feck <christoph () maxiom ! de>
Date: 2010-10-11 13:27:45
Message-ID: 20101011132745.DF247AC7E4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1184822 by cfeck:
Fix wrong encoding in title texts
i18n() expects UTF-8 encoded strings.
FIXED-IN: 4.6.0
BUG: 205272
CCBUG: 173339
M +1 -1 SensorDisplay.cc
--- trunk/KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc #1184821:1184822
@@ -352,7 +352,7 @@
mTitle = title;
// Check if the string is latin1 only. If so, try to translate
if(QString::fromLatin1(title.toLatin1()) == title)
- mTranslatedTitle = i18n(title.toLatin1());
+ mTranslatedTitle = i18n(title.toUtf8());
else
mTranslatedTitle = mTitle;
emit titleChanged(mTitle);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic