Commit 8ff9e614 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated QStandardPaths::DataLocation

parent b44f80a3
Pipeline #131940 passed with stages
in 1 minute and 1 second
......@@ -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::AppLocalDataLocation);
#endif
searchPaths.push_back(QStringLiteral(":"));
for (const auto &searchPath : qAsConst(searchPaths)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment