From 7968543bb0308395226a8847274dc3b836dd7b87 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 17 May 2012 02:37:23 +0200 Subject: 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 --- tests/auto/tools/uic/baseline/icontheme.ui.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/auto/tools/uic/baseline/icontheme.ui.h') diff --git a/tests/auto/tools/uic/baseline/icontheme.ui.h b/tests/auto/tools/uic/baseline/icontheme.ui.h index f3f8f634f9..047f65b73a 100644 --- a/tests/auto/tools/uic/baseline/icontheme.ui.h +++ b/tests/auto/tools/uic/baseline/icontheme.ui.h @@ -78,10 +78,10 @@ public: void retranslateUi(QWidget *Form) { - Form->setWindowTitle(QApplication::translate("Form", "Form", 0, QApplication::UnicodeUTF8)); - fileicon->setText(QApplication::translate("Form", "fileicon", 0, QApplication::UnicodeUTF8)); - fileandthemeicon->setText(QApplication::translate("Form", "PushButton", 0, QApplication::UnicodeUTF8)); - themeicon->setText(QApplication::translate("Form", "PushButton", 0, QApplication::UnicodeUTF8)); + Form->setWindowTitle(QApplication::translate("Form", "Form", 0)); + fileicon->setText(QApplication::translate("Form", "fileicon", 0)); + fileandthemeicon->setText(QApplication::translate("Form", "PushButton", 0)); + themeicon->setText(QApplication::translate("Form", "PushButton", 0)); } // retranslateUi }; -- cgit v1.2.3