summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2011-07-29 15:43:07 (GMT)
committerLiang Qi <liang.qi@nokia.com>2011-07-29 15:43:07 (GMT)
commit29a5089b83b1b43ecf2c746dac8cadbbe4385553 (patch)
tree69a3f39667e0ff22a3d7507fafcdb7c9cd219daf /src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
parentc9f0c578bbaf73211ad4729e1496e53867a641c9 (diff)
parent174e01a16aba71cfaa7b095be6430f8e4a89d0b8 (diff)
downloadQt-29a5089b83b1b43ecf2c746dac8cadbbe4385553.zip
Qt-29a5089b83b1b43ecf2c746dac8cadbbe4385553.tar.gz
Qt-29a5089b83b1b43ecf2c746dac8cadbbe4385553.tar.bz2
Merge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7
Conflicts: src/gui/kernel/qcocoasharedwindowmethods_mac_p.h src/gui/text/qfont_s60.cpp
Diffstat (limited to 'src/gui/kernel/qcocoasharedwindowmethods_mac_p.h')
-rw-r--r--src/gui/kernel/qcocoasharedwindowmethods_mac_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
index f5a93d9..8c194cc 100644
--- a/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
+++ b/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
@@ -347,7 +347,7 @@ QT_END_NAMESPACE
QWidget *qwidget = QApplication::widgetAt(globalPoint);
*currentDragTarget() = qwidget;
if (!qwidget)
- return [super draggingEntered:sender];
+ return NSDragOperationNone;
if (qwidget->testAttribute(Qt::WA_DropSiteRegistered) == false)
return NSDragOperationNone;
@@ -413,7 +413,7 @@ QT_END_NAMESPACE
QWidget *qwidget = QApplication::widgetAt(globalPoint);
if (!qwidget)
- return [super draggingEntered:sender];
+ return NSDragOperationNone;
// First, check if the widget under the mouse has changed since the
// last drag move events. If so, we need to change target, and dispatch
@@ -500,7 +500,7 @@ QT_END_NAMESPACE
QWidget *qwidget = *currentDragTarget();
if (!qwidget)
- return [super draggingExited:sender];
+ return;
if (dropData) {
QDragLeaveEvent de;