summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/mydialog.ui.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-05-17 02:37:23 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-18 22:38:55 +0200
commit7968543bb0308395226a8847274dc3b836dd7b87 (patch)
tree9e449b49d0e2f271bdad50008954d735711a1606 /tests/auto/tools/uic/baseline/mydialog.ui.h
parent8df298665a1e637ab6d26d5fcc447d5502afe31a (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/mydialog.ui.h')
-rw-r--r--tests/auto/tools/uic/baseline/mydialog.ui.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/tools/uic/baseline/mydialog.ui.h b/tests/auto/tools/uic/baseline/mydialog.ui.h
index ffb49e5d97..7791b10580 100644
--- a/tests/auto/tools/uic/baseline/mydialog.ui.h
+++ b/tests/auto/tools/uic/baseline/mydialog.ui.h
@@ -60,10 +60,10 @@ public:
void retranslateUi(QDialog *MyDialog)
{
- MyDialog->setWindowTitle(QApplication::translate("MyDialog", "Mach 2!", 0, QApplication::UnicodeUTF8));
- aLabel->setText(QApplication::translate("MyDialog", "Join the life in the fastlane; - PCH enable your project today! -", 0, QApplication::UnicodeUTF8));
- aButton->setText(QApplication::translate("MyDialog", "&Quit", 0, QApplication::UnicodeUTF8));
- aButton->setShortcut(QApplication::translate("MyDialog", "Alt+Q", 0, QApplication::UnicodeUTF8));
+ MyDialog->setWindowTitle(QApplication::translate("MyDialog", "Mach 2!", 0));
+ aLabel->setText(QApplication::translate("MyDialog", "Join the life in the fastlane; - PCH enable your project today! -", 0));
+ aButton->setText(QApplication::translate("MyDialog", "&Quit", 0));
+ aButton->setShortcut(QApplication::translate("MyDialog", "Alt+Q", 0));
} // retranslateUi
};