Browse Source

Stop timeout when closing tile reply.

QGC4.4
Gus Grubba 8 years ago
parent
commit
f000759276
  1. 2
      src/QtLocationPlugin/QGeoMapReplyQGC.cpp

2
src/QtLocationPlugin/QGeoMapReplyQGC.cpp

@ -81,6 +81,7 @@ QGeoTiledMapReplyQGC::~QGeoTiledMapReplyQGC() @@ -81,6 +81,7 @@ QGeoTiledMapReplyQGC::~QGeoTiledMapReplyQGC()
void
QGeoTiledMapReplyQGC::_clearReply()
{
_timer.stop();
if (_reply) {
_reply->deleteLater();
_reply = 0;
@ -107,6 +108,7 @@ QGeoTiledMapReplyQGC::_returnBadTile() @@ -107,6 +108,7 @@ QGeoTiledMapReplyQGC::_returnBadTile()
void
QGeoTiledMapReplyQGC::abort()
{
_timer.stop();
if (_reply)
_reply->abort();
}

Loading…
Cancel
Save