diff --git a/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp b/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp index c762f84235b39a7a580fbd6dab13683f34a9d12a..b3f1b85b7c468ba9223704d827092bc6fe39f01f 100644 --- a/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp +++ b/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp @@ -226,13 +226,9 @@ QGeoTiledMappingManagerEngineQGC::_setCache(const QVariantMap ¶meters) QGeoTileCache* pTileCache = createTileCacheWithDir(cacheDir); if(pTileCache) { - //-- We're basically telling it to use 1kb (100k for Windows) of disk for cache. It doesn't like + //-- We're basically telling it to use 100k of disk for cache. It doesn't like // values smaller than that and I could not find a way to make it NOT cache. -#ifdef Q_OS_WIN pTileCache->setMaxDiskUsage(1024 * 100); -#else - pTileCache->setMaxDiskUsage(1024); -#endif pTileCache->setMaxMemoryUsage(memLimit); } }