diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-10-16 15:04:23 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-10-23 15:05:07 +0200 |
commit | eb1da874f275279546701f2be7e7db08e8d36e0d (patch) | |
tree | 4f5b840b42bfdf2328051e86b851f47e77a9c0c9 /src/qml | |
parent | c31c4068f87bb65328b4d25ca0c8d428ab8f74a6 (diff) |
Remove usage of deprecated QStandardPaths::DataLocation
Task-number: QTBUG-87037
Change-Id: I1969dba3b6edfaf202a316576674efed481bb1e4
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/qml/qqmlengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index b5b36cccb9..0b4493df79 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -2168,7 +2168,7 @@ QString QQmlEngine::offlineStoragePath() const Q_D(const QQmlEngine); if (d->offlineStoragePath.isEmpty()) { - QString dataLocation = QStandardPaths::writableLocation(QStandardPaths::DataLocation); + QString dataLocation = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); QQmlEnginePrivate *e = const_cast<QQmlEnginePrivate *>(d); if (!dataLocation.isEmpty()) e->offlineStoragePath = dataLocation.replace(QLatin1Char('/'), QDir::separator()) |