qt6-bb10/src
Chris Meyer 4591f67e91 Fix QTreeView header re-ordering bug on Mac OS.
This is a cherry-pick of 0ba850c7a2dbccb8dd6aa1664679bda6cce95065

When the mouse button is released at the end of a drag, Cocoa
may simulate an extra mouse moved event. However, the state of
the buttons when this event is generated is already 'no button'.
This leads to some failsafe code canceling out of the drag state
and when the actual mouse release event is finally processed, the
header drag state has already been exited and the header drag
fails.

This patch disables the failsafe code on Cocoa and makes header
dragging work when the mouse goes outside the bounds of the header
view.

Task-number: QTBUG-14179
Change-Id: Ia9fd1ac79f9e7b4b90d3e160298c53d65fb171d3
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-06-12 11:16:49 +02:00
..
3rdparty Namespace the bundled zlib symbols, to avoid clash with user zlib 2012-06-08 00:53:10 +02:00
concurrent QtConcurrent: Remove QMutex kept for BC reasons. 2012-05-30 01:54:45 +02:00
corelib Fix automatic declaration of QSharedPointer<T> metatypes. 2012-06-12 11:16:45 +02:00
dbus Avoid accessing QObjectPrivate::currentSender directly from QtDBus 2012-06-01 12:03:39 +02:00
gui Make distance field image width variable. 2012-06-12 07:09:54 +02:00
modules Revert "List QtPrintSupport as a dependency of QtPlatformSupport." 2012-04-20 12:46:47 +02:00
network Namespace the bundled zlib symbols, to avoid clash with user zlib 2012-06-08 00:53:10 +02:00
opengl Remove unused isGLWidget variable. 2012-06-01 13:06:56 +02:00
platformsupport evdevmouse: send correct event position for wheel events 2012-06-10 09:39:36 +02:00
plugins Implement WindowTransparentForInput flag in Windows platform. 2012-06-12 04:30:02 +02:00
printsupport QtPrintSupport - Add CUPS printer and options queries to plugin 2012-06-09 01:46:36 +02:00
sql Remove QFactoryInterface from sql drivers 2012-06-07 21:18:36 +02:00
testlib Use UTF-8 in the QtTest data and benchmark tags 2012-06-09 10:45:01 +02:00
tools QDoc: Also allow dependant modules to be specified on CLI. 2012-06-12 04:29:34 +02:00
widgets Fix QTreeView header re-ordering bug on Mac OS. 2012-06-12 11:16:49 +02:00
winmain Fix tabs/whitespaces 2012-05-03 16:11:58 +02:00
xml QtXml: remove \link usages 2012-05-29 11:35:21 +02:00
qbase.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_install.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_targets.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
src.pro Remove widgets lib dependency on platformsupport. 2012-06-08 04:47:59 +02:00