From 9d89e5519abf5b289b21f7015ad4471bf97f3b4e Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Fri, 24 Sep 2010 20:36:00 +0000 Subject: [PATCH] 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 --- widgets/scrollwidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/widgets/scrollwidget.cpp b/widgets/scrollwidget.cpp index 717abf50b..e079ef608 100644 --- a/widgets/scrollwidget.cpp +++ b/widgets/scrollwidget.cpp @@ -108,7 +108,6 @@ public: void commonConstructor() { - q->setFlag(QGraphicsItem::ItemHasNoContents); q->setFocusPolicy(Qt::StrongFocus); q->setFiltersChildEvents(true); layout = new QGraphicsGridLayout(q);