summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-14 09:05:14 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-09-14 09:05:14 (GMT)
commit856eaf6d52c94fdf3bb0e3cdd60b79dccd8325f4 (patch)
tree17244b468efe6569c25f7f784d0cf0a8c63fcf76 /tools/designer
parent57295fb967cd7d50a1e4113edf995b9592d1576f (diff)
downloadQt-856eaf6d52c94fdf3bb0e3cdd60b79dccd8325f4.zip
Qt-856eaf6d52c94fdf3bb0e3cdd60b79dccd8325f4.tar.gz
Qt-856eaf6d52c94fdf3bb0e3cdd60b79dccd8325f4.tar.bz2
I18n: Fix some lupdate warnings.
Diffstat (limited to 'tools/designer')
-rw-r--r--tools/designer/src/components/formeditor/formeditor_optionspage.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/designer/src/components/formeditor/formeditor_optionspage.cpp b/tools/designer/src/components/formeditor/formeditor_optionspage.cpp
index 102f44a..8e0cc66 100644
--- a/tools/designer/src/components/formeditor/formeditor_optionspage.cpp
+++ b/tools/designer/src/components/formeditor/formeditor_optionspage.cpp
@@ -86,9 +86,11 @@ ZoomSettingsWidget::ZoomSettingsWidget(QWidget *parent) :
m_zoomCombo->setEditable(false);
const IntList zoomValues = ZoomMenu::zoomValues();
const IntList::const_iterator cend = zoomValues.constEnd();
- //: Zoom percentage
- for (IntList::const_iterator it = zoomValues.constBegin(); it != cend; ++it)
+
+ for (IntList::const_iterator it = zoomValues.constBegin(); it != cend; ++it) {
+ //: Zoom percentage
m_zoomCombo->addItem(QCoreApplication::translate("FormEditorOptionsPage", "%1 %").arg(*it), QVariant(*it));
+ }
// Layout
setCheckable(true);