summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-12-03 10:28:55 (GMT)
committerAndy Shaw <andy.shaw@nokia.com>2009-12-03 11:52:01 (GMT)
commit4159207860b68276a6f2f72efec1de0aac620a92 (patch)
tree15acf052f6603577e0a0fbe49953bc1b1250eb10 /src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
parentf57eaeb3c46a375113e5d5ebaf0c2cb289795606 (diff)
downloadQt-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.h1
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) {