summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/embeddeddialog.ui.h
diff options
context:
space:
mode:
authorDyami Caliri <dyami@dragonframe.com>2016-08-16 20:52:14 -0700
committerMarc Mutz <marc.mutz@kdab.com>2016-09-03 05:07:50 +0000
commit816a6238761810c28a991a959ea61a834de2a2a5 (patch)
tree14f25fc6565dde3a9b235987b59b21dcaf9abb57 /tests/auto/tools/uic/baseline/embeddeddialog.ui.h
parent4e53159d431e39c03488517588669ae2cc9052d1 (diff)
uic: generate translate calls with Q_NULLPTR instead of 0
uic should use Q_NULLPTR instead of 0 as the default disambiguation context. Task-number: QTBUG-45291 Change-Id: I889182c7fe1c4be3336f3cd645aa60838863c633 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/tools/uic/baseline/embeddeddialog.ui.h')
-rw-r--r--tests/auto/tools/uic/baseline/embeddeddialog.ui.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/tools/uic/baseline/embeddeddialog.ui.h b/tests/auto/tools/uic/baseline/embeddeddialog.ui.h
index 872dc7db87..69027286b6 100644
--- a/tests/auto/tools/uic/baseline/embeddeddialog.ui.h
+++ b/tests/auto/tools/uic/baseline/embeddeddialog.ui.h
@@ -98,16 +98,16 @@ public:
void retranslateUi(QDialog *embeddedDialog)
{
- embeddedDialog->setWindowTitle(QApplication::translate("embeddedDialog", "Embedded Dialog", 0));
- label->setText(QApplication::translate("embeddedDialog", "Layout Direction:", 0));
+ embeddedDialog->setWindowTitle(QApplication::translate("embeddedDialog", "Embedded Dialog", Q_NULLPTR));
+ label->setText(QApplication::translate("embeddedDialog", "Layout Direction:", Q_NULLPTR));
layoutDirection->clear();
layoutDirection->insertItems(0, QStringList()
- << QApplication::translate("embeddedDialog", "Left to Right", 0)
- << QApplication::translate("embeddedDialog", "Right to Left", 0)
+ << QApplication::translate("embeddedDialog", "Left to Right", Q_NULLPTR)
+ << QApplication::translate("embeddedDialog", "Right to Left", Q_NULLPTR)
);
- label_2->setText(QApplication::translate("embeddedDialog", "Select Font:", 0));
- label_3->setText(QApplication::translate("embeddedDialog", "Style:", 0));
- label_4->setText(QApplication::translate("embeddedDialog", "Layout spacing:", 0));
+ label_2->setText(QApplication::translate("embeddedDialog", "Select Font:", Q_NULLPTR));
+ label_3->setText(QApplication::translate("embeddedDialog", "Style:", Q_NULLPTR));
+ label_4->setText(QApplication::translate("embeddedDialog", "Layout spacing:", Q_NULLPTR));
} // retranslateUi
};