summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/stylesheeteditor.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/stylesheeteditor.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/stylesheeteditor.ui.h')
-rw-r--r--tests/auto/tools/uic/baseline/stylesheeteditor.ui.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h b/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h
index 94ffa45509..d7b6f38d1e 100644
--- a/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h
+++ b/tests/auto/tools/uic/baseline/stylesheeteditor.ui.h
@@ -1,7 +1,7 @@
/********************************************************************************
** Form generated from reading UI file 'stylesheeteditor.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!
********************************************************************************/
@@ -63,6 +63,9 @@ public:
gridLayout->addItem(spacerItem1, 0, 0, 1, 1);
styleSheetCombo = new QComboBox(StyleSheetEditor);
+ styleSheetCombo->addItem(QString());
+ styleSheetCombo->addItem(QString());
+ styleSheetCombo->addItem(QString());
styleSheetCombo->setObjectName(QStringLiteral("styleSheetCombo"));
gridLayout->addWidget(styleSheetCombo, 0, 5, 1, 1);
@@ -131,12 +134,10 @@ public:
void retranslateUi(QWidget *StyleSheetEditor)
{
StyleSheetEditor->setWindowTitle(QApplication::translate("StyleSheetEditor", "Style Editor", Q_NULLPTR));
- styleSheetCombo->clear();
- styleSheetCombo->insertItems(0, QStringList()
- << QApplication::translate("StyleSheetEditor", "Default", Q_NULLPTR)
- << QApplication::translate("StyleSheetEditor", "Coffee", Q_NULLPTR)
- << QApplication::translate("StyleSheetEditor", "Pagefold", Q_NULLPTR)
- );
+ styleSheetCombo->setItemText(0, QApplication::translate("StyleSheetEditor", "Default", Q_NULLPTR));
+ styleSheetCombo->setItemText(1, QApplication::translate("StyleSheetEditor", "Coffee", Q_NULLPTR));
+ styleSheetCombo->setItemText(2, QApplication::translate("StyleSheetEditor", "Pagefold", Q_NULLPTR));
+
label_7->setText(QApplication::translate("StyleSheetEditor", "Style:", Q_NULLPTR));
applyButton->setText(QApplication::translate("StyleSheetEditor", "&Apply", Q_NULLPTR));
label_8->setText(QApplication::translate("StyleSheetEditor", "Style Sheet:", Q_NULLPTR));