diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2020-09-29 20:09:51 +0200 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2020-10-27 17:15:22 +0000 |
commit | b92c477f27832710cdfe20b24088b37f6f44c392 (patch) | |
tree | 3474302189773875ef84c8cf9cefec97a5400215 | |
parent | dbe0567470db2b369a9fdb28d9fbac38be3e2d60 (diff) |
qtpaths: Add missing location types
Task-number: QTBUG-87058
Change-Id: I58926eec16f51640f0a1cbc390167346b42290a8
(cherry picked from commit bc75dce3583962d46983aa22c971ce85b9bd4af5)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r-- | src/qtpaths/qtpaths.cpp | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/qtpaths/qtpaths.cpp b/src/qtpaths/qtpaths.cpp index 340a2ac43..eaff69e83 100644 --- a/src/qtpaths/qtpaths.cpp +++ b/src/qtpaths/qtpaths.cpp @@ -89,20 +89,26 @@ static const struct StringEnum { const char *stringvalue; QStandardPaths::StandardLocation enumvalue; } lookupTableData[] = { + { "AppConfigLocation", QStandardPaths::AppConfigLocation }, + { "AppDataLocation", QStandardPaths::AppDataLocation }, + { "AppLocalDataLocation", QStandardPaths::AppLocalDataLocation }, { "ApplicationsLocation", QStandardPaths::ApplicationsLocation }, + { "CacheLocation", QStandardPaths::CacheLocation }, + { "ConfigLocation", QStandardPaths::ConfigLocation }, + { "DataLocation", QStandardPaths::DataLocation }, { "DesktopLocation", QStandardPaths::DesktopLocation }, { "DocumentsLocation", QStandardPaths::DocumentsLocation }, + { "DownloadLocation", QStandardPaths::DownloadLocation }, { "FontsLocation", QStandardPaths::FontsLocation }, - { "MusicLocation", QStandardPaths::MusicLocation }, - { "MoviesLocation", QStandardPaths::MoviesLocation }, - { "PicturesLocation", QStandardPaths::PicturesLocation }, - { "HomeLocation", QStandardPaths::HomeLocation }, { "GenericCacheLocation", QStandardPaths::GenericCacheLocation }, + { "GenericConfigLocation", QStandardPaths::GenericConfigLocation }, { "GenericDataLocation", QStandardPaths::GenericDataLocation }, + { "HomeLocation", QStandardPaths::HomeLocation }, + { "MoviesLocation", QStandardPaths::MoviesLocation }, + { "MusicLocation", QStandardPaths::MusicLocation }, + { "PicturesLocation", QStandardPaths::PicturesLocation }, { "RuntimeLocation", QStandardPaths::RuntimeLocation }, - { "ConfigLocation", QStandardPaths::ConfigLocation }, - { "GenericConfigLocation", QStandardPaths::GenericConfigLocation }, - { "DownloadLocation", QStandardPaths::DownloadLocation } + { "TempLocation", QStandardPaths::TempLocation } }; /** |