diff options
Diffstat (limited to 'src/location/maps/qgeotilerequestmanager.cpp')
-rw-r--r-- | src/location/maps/qgeotilerequestmanager.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/location/maps/qgeotilerequestmanager.cpp b/src/location/maps/qgeotilerequestmanager.cpp index 73400f29..dca33cb0 100644 --- a/src/location/maps/qgeotilerequestmanager.cpp +++ b/src/location/maps/qgeotilerequestmanager.cpp @@ -121,7 +121,7 @@ QList<QSharedPointer<QGeoTileTexture> > QGeoTileRequestManagerPrivate::requestTi static_cast<QGeoTiledMappingManagerEngine*>(map_->engine()) : 0; // remove tiles in cache from request tiles - if (engine){ + if (engine) { iter i = requestTiles.constBegin(); iter end = requestTiles.constEnd(); for (; i != end; ++i) { @@ -172,7 +172,7 @@ class RetryFuture : public QObject { Q_OBJECT public: - RetryFuture(const QGeoTileSpec &tile, QGeoTiledMapData *map, QObject *parent=0); + RetryFuture(const QGeoTileSpec &tile, QGeoTiledMapData *map, QObject *parent = 0); public Q_SLOTS: void retry(); @@ -191,8 +191,7 @@ void RetryFuture::retry() QSet<QGeoTileSpec> requestTiles; QSet<QGeoTileSpec> cancelTiles; requestTiles.insert(tile_); - if (map_) - { + if (map_) { QGeoTiledMappingManagerEngine *engine = static_cast<QGeoTiledMappingManagerEngine*>(map_->engine()); engine->updateTileRequests(map_, requestTiles, cancelTiles); |