SourceForge has been redesigned. Learn more.
Close

Diff of /plugins/gui-quickbar/quickbar.cpp [1f5be1] .. [e8cdcd]  Maximize  Restore

Switch to side-by-side view

--- a/plugins/gui-quickbar/quickbar.cpp
+++ b/plugins/gui-quickbar/quickbar.cpp
@@ -367,7 +367,8 @@
 void QuickBar::autoSetCaption()
 {
     const RadioStation &rs = queryCurrentStation();
-    setWindowTitle(i18n("KRadio4 Quickbar%1").arg((queryIsPowerOn() && rs.isValid()) ? ", " + rs.longName() : ""));
+    const QString caption = queryIsPowerOn() && rs.isValid() ? i18n("KRadio4 Quickbar, %1", rs.longName()) : i18n("KRadio4 Quickbar");
+    setWindowTitle(caption);
 }
 
 void QuickBar::dragEnterEvent(QDragEnterEvent* event)