do some caching

svn path=/trunk/KDE/kdelibs/; revision=1029904
This commit is contained in:
Aaron J. Seigo 2009-10-01 00:58:41 +00:00
parent df3892d06d
commit d2e3cf28cb

View File

@ -332,6 +332,7 @@ void IconWidgetPrivate::init()
// setAcceptedMouseButtons(Qt::LeftButton);
q->setAcceptsHoverEvents(true);
q->setCacheMode(QGraphicsItem::DeviceCoordinateCache);
background = new Plasma::FrameSvg(q);
background->setImagePath("widgets/viewitem");