diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-05-17 02:37:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-18 22:38:55 +0200 |
commit | 7968543bb0308395226a8847274dc3b836dd7b87 (patch) | |
tree | 9e449b49d0e2f271bdad50008954d735711a1606 /tests/auto/tools/uic/baseline/Widget.ui.h | |
parent | 8df298665a1e637ab6d26d5fcc447d5502afe31a (diff) |
Don't use the deprecated translate() method anymore
The Encoding argument of QCoreApplication::translate()
is deprecated and source code is always assumed to be
encoded in Utf8. Simply remove the encoding argument
from the generated .ui.h files.
Change-Id: If6c40f6df13abd45a0303c863077972c3d1fb685
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/tools/uic/baseline/Widget.ui.h')
-rw-r--r-- | tests/auto/tools/uic/baseline/Widget.ui.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/tools/uic/baseline/Widget.ui.h b/tests/auto/tools/uic/baseline/Widget.ui.h index 1ccf8e8d52..a4b32f9eae 100644 --- a/tests/auto/tools/uic/baseline/Widget.ui.h +++ b/tests/auto/tools/uic/baseline/Widget.ui.h @@ -61,13 +61,13 @@ public: void retranslateUi(QWidget *Form) { - Form->setWindowTitle(QApplication::translate("Form", "Form", 0, QApplication::UnicodeUTF8)); + Form->setWindowTitle(QApplication::translate("Form", "Form", 0)); Alabel->setText(QApplication::translate("Form", "A label.\n" "One new line.\n" "Another new line.\n" -"Last line.", 0, QApplication::UnicodeUTF8)); - groupBox->setTitle(QApplication::translate("Form", "A Group Box", 0, QApplication::UnicodeUTF8)); - pushButton->setText(QApplication::translate("Form", "PushButton", 0, QApplication::UnicodeUTF8)); +"Last line.", 0)); + groupBox->setTitle(QApplication::translate("Form", "A Group Box", 0)); + pushButton->setText(QApplication::translate("Form", "PushButton", 0)); } // retranslateUi }; |