From ba38991c131d51709a7dd11e29444f3136af0e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 17 Jan 2017 21:17:36 +0100 Subject: GH-1788 fix missing translation strings --- application/dialogs/VersionSelectDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/dialogs') diff --git a/application/dialogs/VersionSelectDialog.cpp b/application/dialogs/VersionSelectDialog.cpp index 271b4a04..de525d89 100644 --- a/application/dialogs/VersionSelectDialog.cpp +++ b/application/dialogs/VersionSelectDialog.cpp @@ -78,9 +78,9 @@ VersionSelectDialog::VersionSelectDialog(BaseVersionList *vlist, QString title, void VersionSelectDialog::retranslate() { // FIXME: overrides custom title given in constructor! - setWindowTitle(QApplication::translate("VersionSelectDialog", "Choose Version", Q_NULLPTR)); - m_refreshButton->setToolTip(QApplication::translate("VersionSelectDialog", "Reloads the version list.", Q_NULLPTR)); - m_refreshButton->setText(QApplication::translate("VersionSelectDialog", "&Refresh", Q_NULLPTR)); + setWindowTitle(tr("Choose Version")); + m_refreshButton->setToolTip(tr("Reloads the version list.")); + m_refreshButton->setText(tr("&Refresh")); } void VersionSelectDialog::setEmptyString(QString emptyString) -- cgit v1.2.3