diff options
Diffstat (limited to 'tests/auto/qml/qqmlengine')
-rw-r--r-- | tests/auto/qml/qqmlengine/tst_qqmlengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp b/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp index 1e9b6434c4..6c00494189 100644 --- a/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp +++ b/tests/auto/qml/qqmlengine/tst_qqmlengine.cpp @@ -272,7 +272,7 @@ void tst_qqmlengine::offlineStoragePath() QQmlEngine engine; - QString dataLocation = QStandardPaths::writableLocation(QStandardPaths::DataLocation); + QString dataLocation = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); QCOMPARE(dataLocation.isEmpty(), engine.offlineStoragePath().isEmpty()); @@ -297,7 +297,7 @@ void tst_qqmlengine::offlineDatabaseStoragePath() qApp->setOrganizationDomain("www.qt-project.org"); QQmlEngine engine; - QString dataLocation = QStandardPaths::writableLocation(QStandardPaths::DataLocation); + QString dataLocation = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); const QString databaseName = QLatin1String("foo"); QString databaseLocation = engine.offlineStorageDatabaseFilePath(databaseName); QCOMPARE(dataLocation.isEmpty(), databaseLocation.isEmpty()); |