summaryrefslogtreecommitdiff
path: root/src/linguist/lupdate/main.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 00:47:02 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 08:55:38 +0200
commitcf5822120b205b33fdf347da1c57ed5f0fc78067 (patch)
treea84a4ecade327707507173caa4bfb44c850c3f3d /src/linguist/lupdate/main.cpp
parent01d2ebcc1996f17a7e23003970d5ad27fa3d58af (diff)
downloadqttools-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.cpp2
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);