From 5e7233cb8974d25b0032df30078d51551c843e08 Mon Sep 17 00:00:00 2001 From: David Korth Date: Fri, 30 May 2025 19:43:49 -0400 Subject: [PATCH] [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 4e0f741910f3201ba4875b56fc33f2a0948064e3. ([qrvthtool] TranslationManager: Made some adjustments, including removing translators before updating them.) --- src/qrvthtool/TranslationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qrvthtool/TranslationManager.cpp b/src/qrvthtool/TranslationManager.cpp index 050616e..ca902b3 100644 --- a/src/qrvthtool/TranslationManager.cpp +++ b/src/qrvthtool/TranslationManager.cpp @@ -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); }