qt6-bb10/tests/auto/widgets
Christian Ehrlicher 672d2ea8f4 QAbstractItemView: fix selectionCommand() with no event
QAbstractItemView::selectionCommand() returned the wrong SelectionFlags
when no event is given since c4366ff018.
Therefore re-add the call to QGuiApplication::keyboardModifiers() when
no event is given and add a unittest for them so it's not removed again.

Fixes: QTBUG-89711
Change-Id: I107357df08c4ff1b1a14d49523401c5e7b428f56
Pick-to: 6.0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-01-05 07:49:21 +01:00
..
dialogs Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
effects Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
graphicsview Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
itemviews QAbstractItemView: fix selectionCommand() with no event 2021-01-05 07:49:21 +01:00
kernel tests: unblacklist tst_qwidget::saveRestoreGeometry on xcb 2020-12-23 19:41:39 +00:00
styles Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
util Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
widgets Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00