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:
parent
b5b4ea581a
commit
9d89e5519a
@ -108,7 +108,6 @@ public:
|
||||
|
||||
void commonConstructor()
|
||||
{
|
||||
q->setFlag(QGraphicsItem::ItemHasNoContents);
|
||||
q->setFocusPolicy(Qt::StrongFocus);
|
||||
q->setFiltersChildEvents(true);
|
||||
layout = new QGraphicsGridLayout(q);
|
||||
|
Loading…
Reference in New Issue
Block a user