qt5base-lts/tests/auto/widgets
Volker Hilsheimer 17c1ebf8bf QAbstractItemView: don't block dragging after double click
After d6551fe125 it was no longer possible to start a drag with a
double click (where the first click selects an item, and the second
press+move starts the drag). Resetting the pressedItem variable to block
the emission of the clicked() signal had this unwanted side effect.

Instead, use an explicit boolean to store that the next release event
will be the result of a double click, so that the clicked() signal is not
emitted again (preventing the double-emission was the purpose of change
d6551fe125).

Task-number: QTBUG-77771
Fixes: QTBUG-94087
Pick-to: 6.1 5.15
Change-Id: I082c5169d89eb980dcd7985ef3d302b6ff060fb9
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: Olivier BARTHELEMY <perso.olivier.barthelemy@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2021-06-03 19:37:46 +02:00
..
dialogs Fix wrong C-style cast, use correct QTest::keyClick overload 2021-04-28 10:15:29 +02:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
itemviews QAbstractItemView: don't block dragging after double click 2021-06-03 19:37:46 +02:00
kernel Blacklist tst_QWidget::multipleToplevelFocusCheck() on SLES 15 2021-05-18 11:56:06 +02:00
styles QTabBar: take a style sheet's font into account when laying out tabs 2021-05-06 20:06:44 +02:00
util Remove the qmake project files 2021-01-07 15:32:28 +01:00
widgets tst_QDateTimeEdit::editingRanged(): use QScopedPointer 2021-06-03 16:14:00 +02:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00