summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ulattil@nokia.com>2009-09-22 13:47:22 (GMT)
committerPrasanth Ullattil <prasanth.ulattil@nokia.com>2009-09-22 13:59:38 (GMT)
commit04b7a414f626795b8000271e133b65f8b72ea4c9 (patch)
tree90d806d92506bcff7c59cc95dd7f189a8f6f12c4 /src
parentffb2de1815bb50c93734d4dcfc2fa5cab8c00d35 (diff)
downloadQt-04b7a414f626795b8000271e133b65f8b72ea4c9.zip
Qt-04b7a414f626795b8000271e133b65f8b72ea4c9.tar.gz
Qt-04b7a414f626795b8000271e133b65f8b72ea4c9.tar.bz2
Missing mouse release event on toolbars on Mac OS X
The mouse move events were eaten regardless of the dragging state. Task-number: 238004 Reviewed-by: Thierry
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/qtoolbar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qtoolbar.cpp b/src/gui/widgets/qtoolbar.cpp
index a727b2b..40c0b02 100644
--- a/src/gui/widgets/qtoolbar.cpp
+++ b/src/gui/widgets/qtoolbar.cpp
@@ -307,6 +307,8 @@ bool QToolBarPrivate::mouseReleaseEvent(QMouseEvent*)
return true;
} else {
#ifdef Q_WS_MAC
+ if (!macWindowDragging)
+ return false;
macWindowDragging = false;
macWindowDragPressPosition = QPoint();
return true;