[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 19:36:35
Message-ID: 20101011193635.EE9A9AC7E4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1184908 by cfeck:

Remove useless check
CCMAIL: johnflux@gmail.com


 M  +0 -4      SensorDisplay.cc  


--- trunk/KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc #1184907:1184908
@@ -350,11 +350,7 @@
 void SensorDisplay::setTitle( const QString &title )
 {
   mTitle = title;
-  // Check if the string is latin1 only.  If so, try to translate
-  if(QString::fromLatin1(title.toLatin1()) == title)
     mTranslatedTitle = i18n(title.toUtf8());
-  else
-    mTranslatedTitle = mTitle;
   emit titleChanged(mTitle);
   emit translatedTitleChanged(mTranslatedTitle);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic