From f213e818f03d35cb82e3daf187415197fd156f8e Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 27 Nov 2018 12:31:57 +0100 Subject: uic: Generate correctly qualified invocation of QCoreApplication::translate() Change QApplication::translate() to QCoreApplication::translate() in generator and tests. Task-number: PYSIDE-797 Change-Id: I0bbaf1f280b74b3b2a701a39203c059ab82fce1f Reviewed-by: Jarek Kobus --- tests/auto/tools/uic/baseline/qfiledialog.ui.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/auto/tools/uic/baseline/qfiledialog.ui.h') diff --git a/tests/auto/tools/uic/baseline/qfiledialog.ui.h b/tests/auto/tools/uic/baseline/qfiledialog.ui.h index a544afa31d..9e51ee6a7c 100644 --- a/tests/auto/tools/uic/baseline/qfiledialog.ui.h +++ b/tests/auto/tools/uic/baseline/qfiledialog.ui.h @@ -271,26 +271,26 @@ public: void retranslateUi(QDialog *QFileDialog) { - lookInLabel->setText(QApplication::translate("QFileDialog", "Look in:", nullptr)); + lookInLabel->setText(QCoreApplication::translate("QFileDialog", "Look in:", nullptr)); #if QT_CONFIG(tooltip) - backButton->setToolTip(QApplication::translate("QFileDialog", "Back", nullptr)); + backButton->setToolTip(QCoreApplication::translate("QFileDialog", "Back", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(tooltip) - forwardButton->setToolTip(QApplication::translate("QFileDialog", "Forward", nullptr)); + forwardButton->setToolTip(QCoreApplication::translate("QFileDialog", "Forward", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(tooltip) - toParentButton->setToolTip(QApplication::translate("QFileDialog", "Parent Directory", nullptr)); + toParentButton->setToolTip(QCoreApplication::translate("QFileDialog", "Parent Directory", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(tooltip) - newFolderButton->setToolTip(QApplication::translate("QFileDialog", "Create New Folder", nullptr)); + newFolderButton->setToolTip(QCoreApplication::translate("QFileDialog", "Create New Folder", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(tooltip) - listModeButton->setToolTip(QApplication::translate("QFileDialog", "List View", nullptr)); + listModeButton->setToolTip(QCoreApplication::translate("QFileDialog", "List View", nullptr)); #endif // QT_CONFIG(tooltip) #if QT_CONFIG(tooltip) - detailModeButton->setToolTip(QApplication::translate("QFileDialog", "Detail View", nullptr)); + detailModeButton->setToolTip(QCoreApplication::translate("QFileDialog", "Detail View", nullptr)); #endif // QT_CONFIG(tooltip) - fileTypeLabel->setText(QApplication::translate("QFileDialog", "Files of type:", nullptr)); + fileTypeLabel->setText(QCoreApplication::translate("QFileDialog", "Files of type:", nullptr)); Q_UNUSED(QFileDialog); } // retranslateUi -- cgit v1.2.3