summaryrefslogtreecommitdiffstats
path: root/src/imports/location/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2017-01-05 21:03:23 +0100
committerRobin Burchell <robin.burchell@crimson.no>2017-01-13 22:40:49 +0000
commitbeb4f4c4c98b8c6ad634b13e07aaf9b7a9c54d4a (patch)
tree2a055d776cbf6528b83d22c0c3d73aa7812867a6 /src/imports/location/qdeclarativepolygonmapitem.cpp
parentd08213709959cd52f55b8a277e7485ae14e441c2 (diff)
QtLocation: Use the newly-introduced qmlWarning instead of qmlInfo
qmlInfo will shortly be returning info-level messages (as the name hints), rather than warning level messages. Change-Id: I941f716c4fbe0566e1e5b0ecf673faa7283cde10 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/imports/location/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/imports/location/qdeclarativepolygonmapitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativepolygonmapitem.cpp b/src/imports/location/qdeclarativepolygonmapitem.cpp
index 41196770..ee603f8c 100644
--- a/src/imports/location/qdeclarativepolygonmapitem.cpp
+++ b/src/imports/location/qdeclarativepolygonmapitem.cpp
@@ -413,7 +413,7 @@ void QDeclarativePolygonMapItem::setPath(const QJSValue &value)
QGeoCoordinate c = parseCoordinate(value.property(i), &ok);
if (!ok || !c.isValid()) {
- qmlInfo(this) << "Unsupported path type";
+ qmlWarning(this) << "Unsupported path type";
return;
}