mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 11:35:33 -04:00
[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:
parent
84d2fae156
commit
5e7233cb89
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user