Commit 5d3b9f61 authored by Andreas Bircher's avatar Andreas Bircher

build it

parent e311465d
......@@ -36,7 +36,7 @@
static const unsigned char pngSignature[] = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00};
static const unsigned char jpegSignature[] = {0xFF, 0xD8, 0xFF, 0x00};
static const unsigned char gifSignature[] = {0x47, 0x49, 0x46, 0x38, 0x00};
static const unsigned char jsonSignature[] = {0x7A, 0x22, 0x00}; // two characters '{"'
static const unsigned char jsonSignature[] = {0x7B, 0x22, 0x00}; // two characters '{"'
//-----------------------------------------------------------------------------
UrlFactory::UrlFactory()
......
......@@ -211,7 +211,7 @@ void ElevationProvider::_fetchedTile()
if (terrainTile->isValid()) {
_tilesMutex.lock();
if (!_tiles.contains(hash)) {
_tiles.insert(hash), *terrainTile);
_tiles.insert(hash, *terrainTile);
} else {
delete terrainTile;
}
......
......@@ -64,7 +64,7 @@ private slots:
private:
QString _getTileHash(const QGeoCoordinate& coordinate); /// Method to create a unique string for each tile. Format: south_west_north_east as floats.
QString _getTileHash(const QGeoCoordinate& coordinate); /// Method to create a unique string for each tile
enum class State {
Idle,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment