summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/validators.ui.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2017-07-04 13:04:59 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2017-07-05 12:20:09 +0000
commit8e40050efed8bc5bf262123c59a36f6a47594bab (patch)
treea75c054bdb80c05b349fa0df9bcd5c94caa0e5e0 /tests/auto/tools/uic/baseline/validators.ui.h
parent8095c33bcddefebd16b7cb08b07690caf877f600 (diff)
uic: Don't clear and readd combobox items in retranslateUi
Task-number: QTBUG-61778 Change-Id: If7a15ef69fcfe459f177ff8b671f53a6022ab335 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/tools/uic/baseline/validators.ui.h')
-rw-r--r--tests/auto/tools/uic/baseline/validators.ui.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/tools/uic/baseline/validators.ui.h b/tests/auto/tools/uic/baseline/validators.ui.h
index e8548f1454..fab7e41e0e 100644
--- a/tests/auto/tools/uic/baseline/validators.ui.h
+++ b/tests/auto/tools/uic/baseline/validators.ui.h
@@ -1,7 +1,7 @@
/********************************************************************************
** Form generated from reading UI file 'validators.ui'
**
-** Created by: Qt User Interface Compiler version 5.0.0
+** Created by: Qt User Interface Compiler version 5.10.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
@@ -268,6 +268,8 @@ public:
gridLayout1->addWidget(label_5, 0, 2, 1, 1);
doubleFormat = new QComboBox(groupBox_2);
+ doubleFormat->addItem(QString());
+ doubleFormat->addItem(QString());
doubleFormat->setObjectName(QStringLiteral("doubleFormat"));
gridLayout1->addWidget(doubleFormat, 0, 3, 1, 1);
@@ -384,11 +386,9 @@ public:
groupBox_2->setTitle(QApplication::translate("ValidatorsForm", "QDoubleValidator", Q_NULLPTR));
label_3->setText(QApplication::translate("ValidatorsForm", "Min:", Q_NULLPTR));
label_5->setText(QApplication::translate("ValidatorsForm", "Format:", Q_NULLPTR));
- doubleFormat->clear();
- doubleFormat->insertItems(0, QStringList()
- << QApplication::translate("ValidatorsForm", "Standard", Q_NULLPTR)
- << QApplication::translate("ValidatorsForm", "Scientific", Q_NULLPTR)
- );
+ doubleFormat->setItemText(0, QApplication::translate("ValidatorsForm", "Standard", Q_NULLPTR));
+ doubleFormat->setItemText(1, QApplication::translate("ValidatorsForm", "Scientific", Q_NULLPTR));
+
label_4->setText(QApplication::translate("ValidatorsForm", "Max:", Q_NULLPTR));
label_6->setText(QApplication::translate("ValidatorsForm", "Decimals:", Q_NULLPTR));
doubleLedWidget->setText(QString());