From 7bda9fff3b48d2534fb70cc6a9c4b0b945eaaf12 Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Tue, 21 Apr 2009 13:56:49 +0200 Subject: Fixed replaying mouse events if gesture starts over non-gesture-enabled subwidget. --- src/gui/kernel/qapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v0.12