Commit a3ddb924 authored by dogmaphobic's avatar dogmaphobic

Removing debug output.

parent aa2cf9eb
...@@ -97,9 +97,10 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q ...@@ -97,9 +97,10 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q
{ {
qWarning() << "Could not create mapping disk cache directory: " << cacheDir; qWarning() << "Could not create mapping disk cache directory: " << cacheDir;
cacheDir.clear(); cacheDir.clear();
} else {
qDebug() << "Mapping cache directory:" << cacheDir;
} }
//else {
// qDebug() << "Mapping cache directory:" << cacheDir;
//}
QGeoTileCache *tileCache = createTileCacheWithDir(cacheDir); QGeoTileCache *tileCache = createTileCacheWithDir(cacheDir);
...@@ -114,7 +115,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q ...@@ -114,7 +115,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q
// QGC Default // QGC Default
cacheLimit = 1024 * 1024 * 1024; cacheLimit = 1024 * 1024 * 1024;
tileCache->setMaxDiskUsage(cacheLimit); tileCache->setMaxDiskUsage(cacheLimit);
qDebug() << "Disk caching limit:" << cacheLimit; //qDebug() << "Disk caching limit:" << cacheLimit;
cacheLimit = 0; cacheLimit = 0;
if (parameters.contains(QStringLiteral("mapping.cache.memory.size"))) { if (parameters.contains(QStringLiteral("mapping.cache.memory.size"))) {
...@@ -127,7 +128,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q ...@@ -127,7 +128,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q
// QGC Default // QGC Default
cacheLimit = 10 * 1024 * 1024; cacheLimit = 10 * 1024 * 1024;
tileCache->setMaxMemoryUsage(cacheLimit); tileCache->setMaxMemoryUsage(cacheLimit);
qDebug() << "Memory caching limit:" << cacheLimit; //qDebug() << "Memory caching limit:" << cacheLimit;
cacheLimit = 0; cacheLimit = 0;
if (parameters.contains(QStringLiteral("mapping.cache.texture.size"))) { if (parameters.contains(QStringLiteral("mapping.cache.texture.size"))) {
......
...@@ -237,7 +237,6 @@ Rectangle { ...@@ -237,7 +237,6 @@ Rectangle {
if (mapBackground.mapItem.supportedMapTypes.length > 0) if (mapBackground.mapItem.supportedMapTypes.length > 0)
map = mapBackground.mapItem.activeMapType.name; map = mapBackground.mapItem.activeMapType.name;
map = flightDisplay.loadSetting("currentMapType", map); map = flightDisplay.loadSetting("currentMapType", map);
console.log('Set map type: ', map)
if(map != '') if(map != '')
setCurrentMap(map); setCurrentMap(map);
} }
......
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