diff options
author | David Laing <david.laing@nokia.com> | 2012-03-15 17:15:30 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-15 13:34:15 +0100 |
commit | a7fc40e75fde80c2bd30bd36af661d55b3539bac (patch) | |
tree | 18ae0d145ca2093a9551979a47eb3b8da1bbf31e /src/location/maps/qgeotilefetcher.cpp | |
parent | 02673fd6ca7ad85e48fe17ce329d54af101f3694 (diff) | |
download | qtlocation-a7fc40e75fde80c2bd30bd36af661d55b3539bac.tar.gz |
Makes the tiled mapping engine pay attention to file formats again.
This was fixed previously but partly removed by the non-tiled maps
API refactoring.
Change-Id: I038adf2d8b561c5d71700a3cd839de6956246239
Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Reviewed-by: Cristian Adam <cristian.adam@nokia.com>
Diffstat (limited to 'src/location/maps/qgeotilefetcher.cpp')
-rw-r--r-- | src/location/maps/qgeotilefetcher.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/location/maps/qgeotilefetcher.cpp b/src/location/maps/qgeotilefetcher.cpp index 615b9350..75c510b2 100644 --- a/src/location/maps/qgeotilefetcher.cpp +++ b/src/location/maps/qgeotilefetcher.cpp @@ -208,8 +208,7 @@ void QGeoTileFetcher::handleReply(QGeoTiledMapReply *reply, const QGeoTileSpec & } 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()); } |