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);