QTfrontend/ui/widget/mapContainer.cpp
changeset 8941 bc2957e1980c
parent 8924 13ac59499066
child 9452 a669869ee44c
--- a/QTfrontend/ui/widget/mapContainer.cpp	Sat Apr 27 17:02:26 2013 -0400
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Mon Apr 29 10:01:51 2013 +0400
@@ -801,7 +801,7 @@
     btnTheme->setFixedHeight(64);
     btnTheme->setIconSize(iconSize);
     btnTheme->setIcon(icon);
-    btnTheme->setText(tr("Theme: ") + current.data(Qt::DisplayRole).toString());
+    btnTheme->setText(tr("Theme: %1").arg(current.data(Qt::DisplayRole).toString()));
     updateThemeButtonSize();
 }
 
@@ -932,5 +932,5 @@
 
     m_theme = name;
     btnTheme->setIcon(QIcon());
-    btnTheme->setText(tr("Theme: ") + name);
+    btnTheme->setText(tr("Theme: %1").arg(name));
 }