summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeotilefetcher_p.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2014-01-08 17:06:46 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-17 06:21:19 +0100
commite584af651f5b7b2855a37cee7d94999ce3374b5c (patch)
tree2d34e9baf681fe42b6368909623006d5a8015a19 /src/location/maps/qgeotilefetcher_p.h
parentc2502d3181a9ce4aab868629c3dd4813c686346f (diff)
downloadqtlocation-e584af651f5b7b2855a37cee7d94999ce3374b5c.tar.gz
Fix killing timer in different thread.
It was possible for another thread to attempt to stop the timer used by the tile fetcher. Change-Id: Ic44cf416bc7e6c987c4b5c9914a1c7d911dbbea5 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/location/maps/qgeotilefetcher_p.h')
-rw-r--r--src/location/maps/qgeotilefetcher_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeotilefetcher_p.h b/src/location/maps/qgeotilefetcher_p.h
index 45e38e05..d08092b9 100644
--- a/src/location/maps/qgeotilefetcher_p.h
+++ b/src/location/maps/qgeotilefetcher_p.h
@@ -74,7 +74,6 @@ class Q_LOCATION_EXPORT QGeoTileFetcher : public QObject
public:
QGeoTileFetcher(QGeoTiledMappingManagerEngine *engine, QObject *parent = 0);
virtual ~QGeoTileFetcher();
- void stopTimer();
public Q_SLOTS:
void threadStarted();
@@ -91,6 +90,7 @@ Q_SIGNALS:
void tileError(const QGeoTileSpec &spec, const QString &errorString);
protected:
+ void timerEvent(QTimerEvent *event);
virtual bool init();
QGeoTiledMappingManagerEngine::CacheAreas cacheHint() const;