Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-libqt5-qttools
0001-qtpaths-Add-missing-location-types.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-qtpaths-Add-missing-location-types.patch of Package mingw32-libqt5-qttools
From 7e874a236028e2380f6a52c7e0c0511c0ea1c9f2 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Tue, 29 Sep 2020 20:09:51 +0200 Subject: [PATCH] qtpaths: Add missing location types https://bugreports.qt.io/browse/QTBUG-87058 --- src/qtpaths/qtpaths.cpp | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/qtpaths/qtpaths.cpp b/src/qtpaths/qtpaths.cpp index 648e0cab..5dd4ad0a 100644 --- a/src/qtpaths/qtpaths.cpp +++ b/src/qtpaths/qtpaths.cpp @@ -87,20 +87,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 } }; /** -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor