Fix transformation artifacts.

The widget does have contents (even if it's inherited) which
was confusing graphicsview and causing wonky artifacts on 
transformations of all widgets that were inside Plasma::ScrollWidget.

svn path=/trunk/KDE/kdelibs/; revision=1179203
This commit is contained in:
Zack Rusin 2010-09-24 20:36:00 +00:00
parent b5b4ea581a
commit 9d89e5519a

View File

@ -108,7 +108,6 @@ public:
void commonConstructor()
{
q->setFlag(QGraphicsItem::ItemHasNoContents);
q->setFocusPolicy(Qt::StrongFocus);
q->setFiltersChildEvents(true);
layout = new QGraphicsGridLayout(q);