summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/translation
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/translation
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/translation')
-rw-r--r--tests/auto/tools/uic/baseline/translation/Dialog_without_Buttons_tr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tools/uic/baseline/translation/Dialog_without_Buttons_tr.h b/tests/auto/tools/uic/baseline/translation/Dialog_without_Buttons_tr.h
index 597728e207..08c063cf6f 100644
--- a/tests/auto/tools/uic/baseline/translation/Dialog_without_Buttons_tr.h
+++ b/tests/auto/tools/uic/baseline/translation/Dialog_without_Buttons_tr.h
@@ -36,7 +36,7 @@ public:
void retranslateUi(QDialog *Dialog)
{
- Dialog->setWindowTitle(i18n("Dialog", 0));
+ Dialog->setWindowTitle(i18n("Dialog", Q_NULLPTR));
} // retranslateUi
};