diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-12-03 10:28:55 (GMT) |
---|---|---|
committer | Andy Shaw <andy.shaw@nokia.com> | 2009-12-03 11:52:01 (GMT) |
commit | 4159207860b68276a6f2f72efec1de0aac620a92 (patch) | |
tree | 15acf052f6603577e0a0fbe49953bc1b1250eb10 /src/gui/kernel/qcocoasharedwindowmethods_mac_p.h | |
parent | f57eaeb3c46a375113e5d5ebaf0c2cb289795606 (diff) | |
download | Qt-4159207860b68276a6f2f72efec1de0aac620a92.zip Qt-4159207860b68276a6f2f72efec1de0aac620a92.tar.gz Qt-4159207860b68276a6f2f72efec1de0aac620a92.tar.bz2 |
Compile fix for mac after the merge.
Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qcocoasharedwindowmethods_mac_p.h')
-rw-r--r-- | src/gui/kernel/qcocoasharedwindowmethods_mac_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h index 8e0bb74..f347240 100644 --- a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h +++ b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h @@ -119,6 +119,7 @@ QT_END_NAMESPACE QT_MANGLE_NAMESPACE(QCocoaView) *view = static_cast<QT_MANGLE_NAMESPACE(QCocoaView) *>(qt_mac_nativeview_for(widget)); Qt::MouseButton mouseButton = cocoaButton2QtButton([event buttonNumber]); + bool handled = false; // sometimes need to redirect mouse events to the popup. QWidget *popup = qAppInstance()->activePopupWidget(); if (popup) { |