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