summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-20 10:32:48 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-20 10:34:32 (GMT)
commitda0026a35568924aaa31902ca9920c1103200d9b (patch)
treeb19f6f60e576879544501773b6e2275c8ed65be9
parentf9f35fd62c83121b11978173cb53deb7d2d58338 (diff)
Fix 'Untranslatable percent values in GUI'.
BUG:369109 FIXED-IN:2.20.80 (KDE Applications 16.11.80)
-rw-r--r--umbrello/uml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/uml.cpp b/umbrello/uml.cpp
index 59b3c07..b4c0c19 100644
--- a/umbrello/uml.cpp
+++ b/umbrello/uml.cpp
@@ -754,7 +754,7 @@ QAction* UMLApp::createZoomAction(int zoom, int currentZoom)
//IMPORTANT: The zoom value is added to the action.
QAction* action = new QAction(this);
action->setCheckable(true);
- action->setText(QLatin1String(" &") + QString::number(zoom) + QLatin1Char('%'));
+ action->setText(QString(QLatin1String(" &%1%")).arg(zoom));
action->setData(zoom);
if (zoom == currentZoom) {
action->setChecked(true);