qt5base-lts/tests/auto/widgets/itemviews
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
..
qabstractitemview QAbstractItemView: fix selectionCommand() with no event 2021-01-05 07:49:21 +01:00
qcolumnview CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qdatawidgetmapper CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qfileiconprovider QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
qheaderview QHeaderView: fix spurious sorting 2020-12-01 15:57:10 +01:00
qitemdelegate Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qitemeditorfactory Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qitemview CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qlistview Tests: Fix building with qmake on Windows 2020-12-17 13:02:15 +01:00
qlistwidget CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtableview QTableView: honor spans when calculating height/width hint 2020-12-10 19:41:26 +01:00
qtablewidget Stop copying events in tests 2020-11-12 15:25:06 +01:00
qtreeview Fix hashing of QPersistentModelIndex 2020-12-04 06:00:38 +00:00
qtreewidget Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qtreewidgetitemiterator CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
itemviews.pro Remove the deprecated QDirModel 2020-06-04 19:11:19 +02:00