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/proxy.ui.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/auto/tools/uic/baseline/proxy.ui.h') diff --git a/tests/auto/tools/uic/baseline/proxy.ui.h b/tests/auto/tools/uic/baseline/proxy.ui.h index 9be6b97b81..e153694884 100644 --- a/tests/auto/tools/uic/baseline/proxy.ui.h +++ b/tests/auto/tools/uic/baseline/proxy.ui.h @@ -91,11 +91,11 @@ public: void retranslateUi(QDialog *ProxyDialog) { - ProxyDialog->setWindowTitle(QApplication::translate("ProxyDialog", "Proxy Authentication", 0, QApplication::UnicodeUTF8)); - iconLabel->setText(QApplication::translate("ProxyDialog", "ICON", 0, QApplication::UnicodeUTF8)); - introLabel->setText(QApplication::translate("ProxyDialog", "Connect to proxy", 0, QApplication::UnicodeUTF8)); - usernameLabel->setText(QApplication::translate("ProxyDialog", "Username:", 0, QApplication::UnicodeUTF8)); - passwordLabel->setText(QApplication::translate("ProxyDialog", "Password:", 0, QApplication::UnicodeUTF8)); + ProxyDialog->setWindowTitle(QApplication::translate("ProxyDialog", "Proxy Authentication", 0)); + iconLabel->setText(QApplication::translate("ProxyDialog", "ICON", 0)); + introLabel->setText(QApplication::translate("ProxyDialog", "Connect to proxy", 0)); + usernameLabel->setText(QApplication::translate("ProxyDialog", "Username:", 0)); + passwordLabel->setText(QApplication::translate("ProxyDialog", "Password:", 0)); } // retranslateUi }; -- cgit v1.2.3