summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.cpp
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2024-04-16 13:19:03 +0300
committerKatja Marttila <katja.marttila@qt.io>2024-04-16 13:59:55 +0300
commit48c3a69f6deb15304c2f3686492b69580d29d585 (patch)
tree3a17c53549371c180c4eceb407fc762e80afbb8b /src/libs/installer/packagemanagercore.cpp
parent18a7e6f34f3b118ee4652d9af93bc3ed2b8da499 (diff)
Fix signal about loaded language
QLocale::Languege does not distinguish between Brazilian Portuguese and European Portuguese. Sending the QLocale object in defaultTranslationsLoadedForLanguage signal to make a difference between these languages. Change-Id: I95994e00b67e2bd18a611d4c9a14d4a6cf57b204 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagercore.cpp')
-rw-r--r--src/libs/installer/packagemanagercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index 2fb39a4a8..66220bd1d 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -202,7 +202,7 @@ using namespace QInstaller;
*/
/*!
- \fn QInstaller::PackageManagerCore::defaultTranslationsLoadedForLanguage(QLocale::Language lang)
+ \fn QInstaller::PackageManagerCore::defaultTranslationsLoadedForLanguage(QLocale lang)
Emitted when the language \a lang has changed.