Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libraries
KOSMIndoorMap
Commits
8ff9e614
Commit
8ff9e614
authored
Feb 02, 2022
by
Laurent Montel
😁
Browse files
Port deprecated QStandardPaths::DataLocation
parent
b44f80a3
Pipeline
#131940
passed with stages
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/map-quick/mapitem.cpp
View file @
8ff9e614
...
...
@@ -78,7 +78,7 @@ void MapItem::setStylesheetName(const QString &styleSheet)
#ifndef Q_OS_ANDROID
auto
searchPaths
=
QStandardPaths
::
standardLocations
(
QStandardPaths
::
GenericDataLocation
);
#else
auto
searchPaths
=
QStandardPaths
::
standardLocations
(
QStandardPaths
::
DataLocation
);
auto
searchPaths
=
QStandardPaths
::
standardLocations
(
QStandardPaths
::
AppLocal
DataLocation
);
#endif
searchPaths
.
push_back
(
QStringLiteral
(
":"
));
for
(
const
auto
&
searchPath
:
qAsConst
(
searchPaths
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment