summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeotilefetcher_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeotilefetcher_p.h')
-rw-r--r--src/location/maps/qgeotilefetcher_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/location/maps/qgeotilefetcher_p.h b/src/location/maps/qgeotilefetcher_p.h
index 659cc817..b18efadc 100644
--- a/src/location/maps/qgeotilefetcher_p.h
+++ b/src/location/maps/qgeotilefetcher_p.h
@@ -58,6 +58,8 @@
#include <QMap>
#include <QLocale>
#include <QTimer>
+#include <QMutex>
+#include <QMutexLocker>
#include <QHash>
#include "qgeomaptype.h"
@@ -80,6 +82,7 @@ public:
bool stopped_;
bool initialized_;
QTimer *timer_;
+ QMutex queueMutex_;
QList<QGeoTileSpec> queue_;
QHash<QGeoTileSpec, QGeoTiledMapReply*> invmap_;