tst_QAbstractItemView::task221955_selectedEditor remove setActiveWindow
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user