diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-16 00:47:02 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-16 08:55:38 +0200 |
commit | cf5822120b205b33fdf347da1c57ed5f0fc78067 (patch) | |
tree | a84a4ecade327707507173caa4bfb44c850c3f3d /src/linguist/lupdate/main.cpp | |
parent | 01d2ebcc1996f17a7e23003970d5ad27fa3d58af (diff) | |
download | qttools-cf5822120b205b33fdf347da1c57ed5f0fc78067.tar.gz |
Fix more compiler warnings from deprecated application attributes
Change-Id: I0c5679eb77b1a38348017279e5949c65e4b0cf35
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/linguist/lupdate/main.cpp')
-rw-r--r-- | src/linguist/lupdate/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/lupdate/main.cpp b/src/linguist/lupdate/main.cpp index 540dbb920..b8a8cf121 100644 --- a/src/linguist/lupdate/main.cpp +++ b/src/linguist/lupdate/main.cpp @@ -660,7 +660,7 @@ int main(int argc, char **argv) QTranslator translator; QTranslator qtTranslator; QString sysLocale = QLocale::system().name(); - QString resourceDir = QLibraryInfo::location(QLibraryInfo::TranslationsPath); + QString resourceDir = QLibraryInfo::path(QLibraryInfo::TranslationsPath); if (translator.load(QLatin1String("linguist_") + sysLocale, resourceDir) && qtTranslator.load(QLatin1String("qt_") + sysLocale, resourceDir)) { app.installTranslator(&translator); |