Commit 2f1e631c authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #4805 from dogmaphobic/tileReply

Stop timeout when closing tile reply.
parents 673816a6 f0007592
...@@ -81,6 +81,7 @@ QGeoTiledMapReplyQGC::~QGeoTiledMapReplyQGC() ...@@ -81,6 +81,7 @@ QGeoTiledMapReplyQGC::~QGeoTiledMapReplyQGC()
void void
QGeoTiledMapReplyQGC::_clearReply() QGeoTiledMapReplyQGC::_clearReply()
{ {
_timer.stop();
if (_reply) { if (_reply) {
_reply->deleteLater(); _reply->deleteLater();
_reply = 0; _reply = 0;
...@@ -107,6 +108,7 @@ QGeoTiledMapReplyQGC::_returnBadTile() ...@@ -107,6 +108,7 @@ QGeoTiledMapReplyQGC::_returnBadTile()
void void
QGeoTiledMapReplyQGC::abort() QGeoTiledMapReplyQGC::abort()
{ {
_timer.stop();
if (_reply) if (_reply)
_reply->abort(); _reply->abort();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment