Index: kpixmapcache.cpp =================================================================== --- kpixmapcache.cpp (revision 691451) +++ kpixmapcache.cpp (working copy) @@ -368,6 +368,7 @@ void KPixmapCache::setCacheLimit(int bytes) { d->mCacheLimit = bytes; + QPixmapCache::setCacheLimit(9000); // TODO: cleanup if size() > cacheLimit() } @@ -456,9 +457,11 @@ //kDebug() << "KPC::find(" << key << ")" << endl; // First try the QPixmapCache if (d->mUseQPixmapCache && QPixmapCache::find(key, pix)) { + kDebug() << "KPC::find(): key " << key << " FOUND in pixmap cache" << endl; return true; } + kDebug() << "KPC::find(): key " << key << " not found in pixmap cache" << endl; LockFile lock(d->mLockFileName); if (!lock.isValid()) { return false;