plasma: do not filter child events from Plasma::ScrollWidget

the event filter checks the watched object if it is either the internal
scroll widget or the widget that is to be scrolled

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-22 13:11:10 +03:00
parent cbee69376d
commit 5b2e668fde

View file

@ -97,7 +97,6 @@ public:
void commonConstructor() void commonConstructor()
{ {
q->setFocusPolicy(Qt::StrongFocus); q->setFocusPolicy(Qt::StrongFocus);
q->setFiltersChildEvents(true);
layout = new QGraphicsGridLayout(q); layout = new QGraphicsGridLayout(q);
q->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); q->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
layout->setContentsMargins(0, 0, 0, 0); layout->setContentsMargins(0, 0, 0, 0);