[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/battery
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2011-01-05 22:26:26
Message-ID: 20110105222626.60C223E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212147 by sebas:

No need to trigger HTML rendering for new lines


backported from trunk, patch by Aurélien Gâteau

CCMAIL:agateau@kde.org



 M  +2 -2      battery.cpp  


--- branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/battery/battery.cpp \
#1212146:1212147 @@ -688,8 +688,8 @@
             } else {
                 //kDebug() << "More batteries ...";
                 if (!batteriesInfo.isEmpty()) {
-                    batteriesLabel.append("<br />");
-                    batteriesInfo.append("<br />");
+                    batteriesLabel.append('\n');
+                    batteriesInfo.append('\n');
                 }
                 batteriesLabel.append(i18nc("Placeholder is the battery ID", \
"Battery %1:", batteryCount));  }


[prev in list] [next in list] [prev in thread] [next in thread] 

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