Increase the limit of the QDeclarativePixmapCache to something sensible
The limit used to be much higher, but was changed due to an accidental tag-along in a commit in April. Change-Id: Ie9f868b3059758aef87c2e1979ef22d840631930 Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.com>
This commit is contained in:
parent
2b99f2a4da
commit
4e9301e3d5
|
@ -76,12 +76,7 @@
|
|||
QT_BEGIN_NAMESPACE
|
||||
|
||||
// The cache limit describes the maximum "junk" in the cache.
|
||||
// These are the same defaults as QPixmapCache
|
||||
#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 = 128 * 1024; // 10 MB cache limit for desktop
|
||||
#endif
|
||||
static int cache_limit = 2048 * 1024; // 2048 KB cache limit for embedded in qpixmapcache.cpp
|
||||
|
||||
class QDeclarativePixmapReader;
|
||||
class QDeclarativePixmapData;
|
||||
|
|
Loading…
Reference in New Issue