From 884ca55de4e7830529a017cf5727570189e270b0 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Fri, 19 Feb 2016 05:56:07 -0500 Subject: [PATCH] Hopefully fixes crash Lorenz is seeing. --- src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp b/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp index c762f8423..b3f1b85b7 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); } } -- 2.22.0