summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp')
-rw-r--r--src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp b/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
index 6d37d803..574ce44b 100644
--- a/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp
@@ -104,7 +104,7 @@ QPlaceResult parsePlaceResult(const QJsonObject &response, const QString &attrib
const QString categoryString = properties.value(QStringLiteral("category")).toString();
if (!categoryString.isEmpty()) {
QList<QPlaceCategory> categories;
- for (const QString &categoryId : categoryString.split(QStringLiteral(", "), QString::SkipEmptyParts)) {
+ for (const QString &categoryId : categoryString.split(QStringLiteral(", "), Qt::SkipEmptyParts)) {
QPlaceCategory category;
category.setName(QMapboxCommon::mapboxNameForCategory(categoryId));
category.setCategoryId(categoryId);