diff --git a/src/QtLocationPlugin/QGeoMapReplyQGC.cpp b/src/QtLocationPlugin/QGeoMapReplyQGC.cpp index 0ff40a54e6ded64239cd60fca168abda77ecbe74..eaee21fc02da06db6a80ccc0cab858ffc2b27257 100644 --- a/src/QtLocationPlugin/QGeoMapReplyQGC.cpp +++ b/src/QtLocationPlugin/QGeoMapReplyQGC.cpp @@ -132,7 +132,7 @@ QGeoTiledMapReplyQGC::networkReplyFinished() } emit terrainDone(a, QNetworkReply::NoError); } else { - //-- This is a map tile. Process and ache it if valid. + //-- This is a map tile. Process and cache it if valid. setMapImageData(a); if(!format.isEmpty()) { setMapImageFormat(format); @@ -226,8 +226,5 @@ QGeoTiledMapReplyQGC::timeout() if(_reply) { _reply->abort(); } - if ((UrlFactory::MapType)tileSpec().mapId() == UrlFactory::MapType::AirmapElevation) { - emit terrainDone(QByteArray(), QNetworkReply::TimeoutError); - } emit aborted(); }