summaryrefslogtreecommitdiff
path: root/src/location/labs/qgeojson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/labs/qgeojson.cpp')
-rw-r--r--src/location/labs/qgeojson.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/location/labs/qgeojson.cpp b/src/location/labs/qgeojson.cpp
index 151091ca..bdd4eacb 100644
--- a/src/location/labs/qgeojson.cpp
+++ b/src/location/labs/qgeojson.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2018 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Copyright (C) 2018 Julian Sherollari <jdotsh@gmail.com>
** Contact: https://www.qt.io/licensing/
**
@@ -1194,12 +1194,12 @@ QString printQvariant(const QVariant v, int tabs = 0) {
// Handle type first, to easy reading
if (map.contains(QStringLiteral("type"))) {
stream << sTabs << sTab << QStringLiteral("type") << " : "
- << printQvariant(map[QStringLiteral("type")], tabs + 1).remove(QRegExp(QStringLiteral("^[ ]*")));;
+ << printQvariant(map[QStringLiteral("type")], tabs + 1).remove(QRegularExpression(QStringLiteral("^[ ]*")));;
}
for (QVariantMap::const_iterator iter = map.begin(); iter != map.end(); ++iter) {
if (iter.key() == QStringLiteral("type"))
continue;
- stream << sTabs << sTab << iter.key() << " : " << printQvariant(iter.value(), tabs + 1).remove(QRegExp(QStringLiteral("^[ ]*")));;
+ stream << sTabs << sTab << iter.key() << " : " << printQvariant(iter.value(), tabs + 1).remove(QRegularExpression(QStringLiteral("^[ ]*")));;
}
}
for (int i = 0; i < l.size(); ++i)