From 4159207860b68276a6f2f72efec1de0aac620a92 Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Thu, 3 Dec 2009 11:28:55 +0100 Subject: Compile fix for mac after the merge. Reviewed-by: trustme --- src/gui/kernel/qcocoasharedwindowmethods_mac_p.h | 1 + 1 file changed, 1 insertion(+) 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_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) { -- cgit v0.12