summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-12-03 10:28:55 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-12-03 10:28:55 (GMT)
commit6bd1139cb4c877db3d71bc6d864e2c5911c0424e (patch)
tree15acf052f6603577e0a0fbe49953bc1b1250eb10 /src/gui
parentf57eaeb3c46a375113e5d5ebaf0c2cb289795606 (diff)
downloadQt-6bd1139cb4c877db3d71bc6d864e2c5911c0424e.zip
Qt-6bd1139cb4c877db3d71bc6d864e2c5911c0424e.tar.gz
Qt-6bd1139cb4c877db3d71bc6d864e2c5911c0424e.tar.bz2
Compile fix for mac after the merge.
Reviewed-by: trustme
Diffstat (limited to 'src/gui')
-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) {