Skip to content

Commit

Permalink
Removing debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmaphobic committed Apr 4, 2015
1 parent aa2cf9e commit a3ddb92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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"))) {
Expand All @@ -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"))) {
Expand Down
1 change: 0 additions & 1 deletion src/ui/flightdisplay/FlightDisplay.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a3ddb92

Please sign in to comment.