summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-10-01 16:10:22 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-10-01 16:10:22 (GMT)
commit30d9101ecabeb0778c829c3578f1fcf5ec276a8c (patch)
treed6d67506c2bae71bf967845ff503e02dd41372ae /src/gui/kernel
parent6ee282013b82b5f46fa972296b801eab55c614c1 (diff)
parent984fe9ebfc6d9582d21bcf1d09cb0578fd163f54 (diff)
downloadQt-30d9101ecabeb0778c829c3578f1fcf5ec276a8c.zip
Qt-30d9101ecabeb0778c829c3578f1fcf5ec276a8c.tar.gz
Qt-30d9101ecabeb0778c829c3578f1fcf5ec276a8c.tar.bz2
Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/gui/kernel')
-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 1332545..044fedd 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -3071,7 +3071,7 @@ void QApplicationPrivate::sendSyntheticEnterLeave(QWidget *widget)
qt_button_down = 0;
// Send enter/leave events followed by a mouse move on the entered widget.
- QMouseEvent e(QEvent::MouseMove, pos, globalPos, Qt::NoButton, mouse_buttons, modifier_buttons);
+ QMouseEvent e(QEvent::MouseMove, pos, globalPos, Qt::NoButton, Qt::NoButton, Qt::NoModifier);
sendMouseEvent(widgetUnderCursor, &e, widgetUnderCursor, tlw, &qt_button_down, qt_last_mouse_receiver);
#endif // QT_NO_CURSOR
}