diff options
Diffstat (limited to 'src/corelib/text/qlocale.cpp')
-rw-r--r-- | src/corelib/text/qlocale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp index 4af039298f..258e90a06c 100644 --- a/src/corelib/text/qlocale.cpp +++ b/src/corelib/text/qlocale.cpp @@ -4466,7 +4466,7 @@ QStringList QLocale::uiLanguages() const if (!res.isNull()) { uiLanguages = res.toStringList(); // ... but we need to include likely-adjusted forms of each of those, too: - for (const auto entry : qAsConst(uiLanguages)) + for (const auto &entry : qAsConst(uiLanguages)) locales.append(QLocale(entry)); } if (locales.isEmpty()) |