summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeomappingmanagerengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeomappingmanagerengine.cpp')
-rw-r--r--src/location/maps/qgeomappingmanagerengine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/location/maps/qgeomappingmanagerengine.cpp b/src/location/maps/qgeomappingmanagerengine.cpp
index fb9d8924..83aec272 100644
--- a/src/location/maps/qgeomappingmanagerengine.cpp
+++ b/src/location/maps/qgeomappingmanagerengine.cpp
@@ -253,8 +253,7 @@ void QGeoMappingManagerEngine::handleReply(QGeoTiledMapReply *reply, const QGeoT
}
if (reply->error() == QGeoTiledMapReply::NoError) {
- QByteArray bytes = reply->mapImageData();
- emit tileFinished(spec, bytes);
+ emit tileFinished(spec, reply->mapImageData(), reply->mapImageFormat());
} else {
emit tileError(spec, reply->errorString());
}