We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 7580b8b commit b22edd3Copy full SHA for b22edd3
src/gui/qgsscrollarea.cpp
@@ -144,6 +144,9 @@ void ScrollAreaFilter::addChild( QObject *child )
144
{
145
if ( child && child->isWidgetType() )
146
147
+ if ( qobject_cast< QScrollArea * >( child ) )
148
+ return;
149
+
150
child->installEventFilter( this );
151
if ( QWidget *w = qobject_cast< QWidget * >( child ) )
152
w->setMouseTracking( true );
@@ -161,6 +164,9 @@ void ScrollAreaFilter::removeChild( QObject *child )
161
164
162
165
163
166
167
168
169
170
child->removeEventFilter( this );
171
172
// also remove filter on existing children
0 commit comments