summaryrefslogtreecommitdiff
path: root/src/location
diff options
context:
space:
mode:
authorAlex Wilson <alex.wilson@nokia.com>2012-04-24 17:55:19 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-26 05:23:55 +0200
commit760dfb8f18b0e6493971865f5a16c012d50da91b (patch)
tree6b50cb74d78c4534ef0869abe3f7cb1d08682eaa /src/location
parent625124a0fa54342d6ecff9f0864b726af115a794 (diff)
downloadqtlocation-760dfb8f18b0e6493971865f5a16c012d50da91b.tar.gz
Reduce default tile+texture cache size to 9Mb (was 16Mb)
Change-Id: I15b753b0dd3a78afb9063139886bf76fba4681bd Reviewed-by: Cristian Adam <cristian.adam@nokia.com> Reviewed-by: Thomas Lowe <thomas.lowe@nokia.com> Reviewed-by: Ian Chen <ian.1.chen@nokia.com> Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Diffstat (limited to 'src/location')
-rw-r--r--src/location/maps/qgeotilecache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeotilecache.cpp b/src/location/maps/qgeotilecache.cpp
index 9676e129..0b19b596 100644
--- a/src/location/maps/qgeotilecache.cpp
+++ b/src/location/maps/qgeotilecache.cpp
@@ -124,8 +124,8 @@ QGeoTileCache::QGeoTileCache(const QString &directory, QObject *parent)
// default values
setMaxDiskUsage(20 * 1024 * 1024);
- setMaxMemoryUsage(4 * 1024 * 1024);
- setExtraTextureUsage(12 * 1024 * 1024);
+ setMaxMemoryUsage(3 * 1024 * 1024);
+ setExtraTextureUsage(6 * 1024 * 1024);
loadTiles();
}