tst_QAbstractItemView::task221955_selectedEditor remove setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I6a4bad1537c8298649598fc3ceecfb6086842b7e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
65c74701e0
commit
e3c8a94ef5
|
|
@ -1259,7 +1259,6 @@ void tst_QAbstractItemView::task221955_selectedEditor()
|
|||
tree.show();
|
||||
tree.setFocus();
|
||||
tree.setCurrentIndex(tree.model()->index(1,0));
|
||||
QApplicationPrivate::setActiveWindow(&tree);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&tree));
|
||||
|
||||
QVERIFY(! tree.selectionModel()->selectedIndexes().contains(tree.model()->index(3,0)));
|
||||
|
|
|
|||
Loading…
Reference in New Issue