diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-10-16 15:11:17 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-10-23 11:36:47 +0200 |
commit | 216c2ed5cee6d908ba94d3c3ec533a7ea588b0a0 (patch) | |
tree | 7fcd170d7077683df482cc8bb6281a7fee113072 /tests/auto | |
parent | 25edeaa3d64163c43b71f8106ef04d6b494c2ed2 (diff) |
Remove usage of deprecated QStandardPaths::DataLocation
* Rearrange the documention to match the enumeration order.
Fixes: QTBUG-87037
Change-Id: Iad001351e0f309e694b8bbd503813017e6586a21
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp b/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp index bbb5b10eb7..b0b076310d 100644 --- a/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp +++ b/tests/auto/corelib/io/qstandardpaths/tst_qstandardpaths.cpp @@ -118,7 +118,7 @@ static const char * const enumNames[MaxStandardLocation + 1 - int(QStandardPaths "PicturesLocation", "TempLocation", "HomeLocation", - "DataLocation", + "AppLocalDataLocation", "CacheLocation", "GenericDataLocation", "RuntimeLocation", @@ -307,7 +307,7 @@ void tst_qstandardpaths::testLocateAll() void tst_qstandardpaths::testDataLocation() { - // On all platforms, DataLocation should be GenericDataLocation / organization name / app name + // On all platforms, AppLocalDataLocation should be GenericDataLocation / organization name / app name // This allows one app to access the data of another app. // Android is an exception to this case, owing to the fact that // applications are sandboxed. |