diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-04-21 11:11:01 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-04-26 07:14:04 (GMT) |
commit | 4226a34e4e2f8739b238b9f9b1769e2fd4fabd7e (patch) | |
tree | b4d6505d2ee9603659b5821e3568271cf5023131 /src/declarative | |
parent | 6567ba691332aa6f97ace22ca9a5e127a9881c60 (diff) | |
download | Qt-4226a34e4e2f8739b238b9f9b1769e2fd4fabd7e.zip Qt-4226a34e4e2f8739b238b9f9b1769e2fd4fabd7e.tar.gz Qt-4226a34e4e2f8739b238b9f9b1769e2fd4fabd7e.tar.bz2 |
Set QPixmapCache default limit to 10MB on Symbian.
Cache limit can be changed to 10MB since QPixmaps
on Symbian are not consuming process heap anymore.
QPixmaps are reserved from FBServ heap.
Task-number: QTBUG-18568
Reviewed-by: Laszlo Agocs
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/util/qdeclarativepixmapcache.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/declarative/util/qdeclarativepixmapcache.cpp b/src/declarative/util/qdeclarativepixmapcache.cpp index 5190eab..099eae9 100644 --- a/src/declarative/util/qdeclarativepixmapcache.cpp +++ b/src/declarative/util/qdeclarativepixmapcache.cpp @@ -72,9 +72,7 @@ QT_BEGIN_NAMESPACE // The cache limit describes the maximum "junk" in the cache. // These are the same defaults as QPixmapCache -#if defined(Q_OS_SYMBIAN) -static int cache_limit = 1024 * 1024; // 1048 KB cache limit for symbian -#elif defined(Q_WS_QWS) || defined(Q_WS_WINCE) +#if defined(Q_WS_QWS) || defined(Q_WS_WINCE) static int cache_limit = 2048 * 1024; // 2048 KB cache limit for embedded #else static int cache_limit = 10240 * 1024; // 10 MB cache limit for desktop |