Browse Source

Removing debug output.

QGC4.4
dogmaphobic 10 years ago
parent
commit
a3ddb92439
  1. 9
      libs/QtLocationGoogle/src/qgeotiledmappingmanagerenginegoogle.cpp
  2. 1
      src/ui/flightdisplay/FlightDisplay.qml

9
libs/QtLocationGoogle/src/qgeotiledmappingmanagerenginegoogle.cpp

@ -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;
cacheDir.clear();
} else {
qDebug() << "Mapping cache directory:" << cacheDir;
}
//else {
// qDebug() << "Mapping cache directory:" << cacheDir;
//}
QGeoTileCache *tileCache = createTileCacheWithDir(cacheDir);
@ -114,7 +115,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q @@ -114,7 +115,7 @@ QGeoTiledMappingManagerEngineGoogle::QGeoTiledMappingManagerEngineGoogle(const Q
// QGC Default
cacheLimit = 1024 * 1024 * 1024;
tileCache->setMaxDiskUsage(cacheLimit);
qDebug() << "Disk caching limit:" << cacheLimit;
//qDebug() << "Disk caching limit:" << cacheLimit;
cacheLimit = 0;
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
cacheLimit = 10 * 1024 * 1024;
tileCache->setMaxMemoryUsage(cacheLimit);
qDebug() << "Memory caching limit:" << cacheLimit;
//qDebug() << "Memory caching limit:" << cacheLimit;
cacheLimit = 0;
if (parameters.contains(QStringLiteral("mapping.cache.texture.size"))) {

1
src/ui/flightdisplay/FlightDisplay.qml

@ -237,7 +237,6 @@ Rectangle { @@ -237,7 +237,6 @@ Rectangle {
if (mapBackground.mapItem.supportedMapTypes.length > 0)
map = mapBackground.mapItem.activeMapType.name;
map = flightDisplay.loadSetting("currentMapType", map);
console.log('Set map type: ', map)
if(map != '')
setCurrentMap(map);
}

Loading…
Cancel
Save