summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_win.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-04-20 09:29:40 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-04-20 09:29:40 (GMT)
commit33afa6c1fbe230dec4eea435f9ad5d4141c128a8 (patch)
tree2ace5c779c10288503b348a8d8bac8748dad0cae /src/gui/kernel/qapplication_win.cpp
parentee1e6222114028c2ff181f972e32f15011723b5f (diff)
parent9f668a352df15404234ea30bc9bb0c1ef774c1b0 (diff)
downloadQt-33afa6c1fbe230dec4eea435f9ad5d4141c128a8.zip
Qt-33afa6c1fbe230dec4eea435f9ad5d4141c128a8.tar.gz
Qt-33afa6c1fbe230dec4eea435f9ad5d4141c128a8.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into windows-7-multitouch
Diffstat (limited to 'src/gui/kernel/qapplication_win.cpp')
-rw-r--r--src/gui/kernel/qapplication_win.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp
index cef8cf2..4878ea7 100644
--- a/src/gui/kernel/qapplication_win.cpp
+++ b/src/gui/kernel/qapplication_win.cpp
@@ -3205,10 +3205,7 @@ bool QETWidget::translateMouseEvent(const MSG &msg)
if (popupButtonFocus) {
target = popupButtonFocus;
} else if (popupChild) {
- // forward mouse events to the popup child. mouse move events
- // are only forwarded to popup children that enable mouse tracking.
- if (type != QEvent::MouseMove || popupChild->hasMouseTracking())
- target = popupChild;
+ target = popupChild;
}
pos = target->mapFromGlobal(globalPos);