summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index f652942..ef602c6 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -3723,7 +3723,7 @@ bool QApplication::notify(QObject *receiver, QEvent *e)
while (target && target->d_func()->gestures.isEmpty())
target = target->parentWidget();
if (target) {
- d->gestureManager->setGestureTargetWidget(target);
+ d->gestureManager->setGestureTargetWidget(w);
if (d->gestureManager->filterEvent(e))
return true;
}