[qrvthtool] TranslationManager::setTranslation(): Remove a stray ')' in the Qt5 build path.

lupdate noticed this:

src/qrvthtool/TranslationManager.cpp:155: Excess closing parenthesis in
C++ code (or abuse of the C++ preprocessor)

This fixes a regression from commit 4e0f741910.
([qrvthtool] TranslationManager: Made some adjustments, including removing translators before updating them.)
This commit is contained in:
David Korth 2025-05-30 19:43:49 -04:00
parent 84d2fae156
commit 5e7233cb89

View File

@ -152,7 +152,7 @@ void TranslationManager::setTranslation(const QString &locale)
# if QT_VERSION >= QT_VERSION_CHECK(6,0,0)
QString path = QLibraryInfo::path(QLibraryInfo::TranslationsPath);
# else /* QT_VERSION < QT_VERSION_CHECK(6,0,0) */
QString path = QLibraryInfo::location(QLibraryInfo::TranslationsPath));
QString path = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
# endif /* QT_VERSION >= QT_VERSION_CHECK(6,0,0) */
isLoaded[i] = d->qtTranslator[i]->load(qtLocales[i], path);
}