diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2014-01-08 17:06:46 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-17 06:21:19 +0100 |
commit | e584af651f5b7b2855a37cee7d94999ce3374b5c (patch) | |
tree | 2d34e9baf681fe42b6368909623006d5a8015a19 /src/location/maps/qgeotilefetcher_p.h | |
parent | c2502d3181a9ce4aab868629c3dd4813c686346f (diff) | |
download | qtlocation-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.h | 2 |
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; |