diff options
author | Prasanth Ullattil <prasanth.ulattil@nokia.com> | 2009-09-22 13:47:22 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ulattil@nokia.com> | 2009-09-22 13:59:38 (GMT) |
commit | 04b7a414f626795b8000271e133b65f8b72ea4c9 (patch) | |
tree | 90d806d92506bcff7c59cc95dd7f189a8f6f12c4 /src | |
parent | ffb2de1815bb50c93734d4dcfc2fa5cab8c00d35 (diff) | |
download | Qt-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.cpp | 2 |
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; |