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 /src/corelib/io/qstandardpaths_win.cpp | |
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 'src/corelib/io/qstandardpaths_win.cpp')
-rw-r--r-- | src/corelib/io/qstandardpaths_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qstandardpaths_win.cpp b/src/corelib/io/qstandardpaths_win.cpp index 3637c11c0a..eb0ed58bcb 100644 --- a/src/corelib/io/qstandardpaths_win.cpp +++ b/src/corelib/io/qstandardpaths_win.cpp @@ -137,7 +137,7 @@ static GUID writableSpecialFolderId(QStandardPaths::StandardLocation type) FOLDERID_Videos, // MoviesLocation FOLDERID_Pictures, // PicturesLocation GUID(), GUID(), // TempLocation/HomeLocation - FOLDERID_LocalAppData, // AppLocalDataLocation ("Local" path), AppLocalDataLocation = DataLocation + FOLDERID_LocalAppData, // AppLocalDataLocation ("Local" path) GUID(), // CacheLocation FOLDERID_LocalAppData, // GenericDataLocation ("Local" path) GUID(), // RuntimeLocation @@ -159,7 +159,7 @@ static GUID writableSpecialFolderId(QStandardPaths::StandardLocation type) FOLDERID_Videos, // MoviesLocation FOLDERID_Pictures, // PicturesLocation GUID(), GUID(), // TempLocation/HomeLocation - FOLDERID_LocalAppDataLow,// AppLocalDataLocation ("Local" path), AppLocalDataLocation = DataLocation + FOLDERID_LocalAppDataLow,// AppLocalDataLocation ("Local" path) GUID(), // CacheLocation FOLDERID_LocalAppDataLow,// GenericDataLocation ("Local" path) GUID(), // RuntimeLocation |