tst_QAbstractItemView::testChangeEditorState() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I5756f3298225a3d7564ff65e9c72c263f5903370
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
dd5a19e297
commit
33f703bf4c
|
|
@ -1704,7 +1704,6 @@ void tst_QAbstractItemView::testChangeEditorState()
|
|||
centerOnScreen(&view);
|
||||
moveCursorAway(&view);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QCOMPARE(&view, QApplication::activeWindow());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue