aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-10-24 00:06:41 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-10-25 09:39:50 +0000
commitbae83ce8403a4129da6660bfc0b0ea959572dc59 (patch)
treeb5f7ca427f8a03b155c1f49d7402ce6c5e81f740 /tools
parenteb1da874f275279546701f2be7e7db08e8d36e0d (diff)
Replace deprecated DataLocation with AppDataLocation
Task-number: QTBUG-87037 Change-Id: I1cb6cd15fbb5fe08a0280ed83d01fc1b49249524 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qml/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp
index 4aa270ae9e..8db0ce7abe 100644
--- a/tools/qml/main.cpp
+++ b/tools/qml/main.cpp
@@ -108,7 +108,7 @@ static void loadConf(const QString &override, bool quiet) // Terminates app on f
bool builtIn = false; //just for keeping track of the warning
if (override.isEmpty()) {
QFileInfo fi;
- fi.setFile(QStandardPaths::locate(QStandardPaths::DataLocation, defaultFileName));
+ fi.setFile(QStandardPaths::locate(QStandardPaths::AppDataLocation, defaultFileName));
if (fi.exists()) {
settingsUrl = QUrl::fromLocalFile(fi.absoluteFilePath());
} else {