tst_QFocusEvent::checkReason_ActiveWindow() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I4a2180c9e13140bf669753318189a58b7959b725
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
eeb062bce7
commit
c8aae7b3ba
|
|
@ -312,7 +312,6 @@ void tst_QFocusEvent::checkReason_ActiveWindow()
|
|||
QVERIFY(QTest::qWaitForWindowExposed(d));
|
||||
|
||||
d->activateWindow(); // ### CDE
|
||||
QApplicationPrivate::setActiveWindow(d);
|
||||
QVERIFY(QTest::qWaitForWindowActive(d));
|
||||
|
||||
QTRY_VERIFY(childFocusWidgetOne->focusOutEventRecieved);
|
||||
|
|
|
|||
Loading…
Reference in New Issue