Faster background drawing. Speeds up a lot zooming operations and general compositing.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701053
This commit is contained in:
Enrico Ros 2007-08-17 06:35:19 +00:00
parent f1855dd6b2
commit 341c3700eb

View File

@ -135,7 +135,9 @@ class Svg::Private
renderer->render(&renderPainter, elementId);
}
renderPainter.end();
QPixmapCache::insert( id, p );
bool inserted = QPixmapCache::insert( id, p );
if (!inserted)
kDebug() << "pixmap cache is too small for inserting" << id << "of size" << s;
}
void createRenderer()