tst_QAbstractItemView::deselectInSignleSelection remove setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I9a22be07862b47c013686173da04315ccdd6bf1d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
33f703bf4c
commit
133d15584c
|
|
@ -1724,7 +1724,6 @@ void tst_QAbstractItemView::deselectInSingleSelection()
|
|||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||
view.setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
view.setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||
// mouse
|
||||
QModelIndex index22 = s.index(2, 2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue