summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-13 08:49:59 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-18 13:17:10 (GMT)
commit51bf6930372f3ff88c0b9a84a1bb55c458172385 (patch)
treec791f2290be10299e75b4c1d5a5d71d1db5b3077 /src/gui/kernel/qapplication_p.h
parente599814feb5bc62c4a419d332bcca39bbea15190 (diff)
downloadQt-51bf6930372f3ff88c0b9a84a1bb55c458172385.zip
Qt-51bf6930372f3ff88c0b9a84a1bb55c458172385.tar.gz
Qt-51bf6930372f3ff88c0b9a84a1bb55c458172385.tar.bz2
Fixed mouse event propagation to widgets inside graphicsview - make sure
spontaneous flag is preserved.
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r--src/gui/kernel/qapplication_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h
index 096c349..08020fb 100644
--- a/src/gui/kernel/qapplication_p.h
+++ b/src/gui/kernel/qapplication_p.h
@@ -424,7 +424,8 @@ public:
QEvent::Type type, Qt::MouseButtons buttons,
QWidget *buttonDown, QWidget *alienWidget);
static bool sendMouseEvent(QWidget *receiver, QMouseEvent *event, QWidget *alienWidget,
- QWidget *native, QWidget **buttonDown, QPointer<QWidget> &lastMouseReceiver);
+ QWidget *native, QWidget **buttonDown, QPointer<QWidget> &lastMouseReceiver,
+ bool spontaneous = true);
#if defined(Q_WS_WIN) || defined(Q_WS_X11)
void sendSyntheticEnterLeave(QWidget *widget);
#endif