tst_QStylesheetStyle::complexWidgetFocus() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I9fc6957376a0e42958e0f4c93025058f9f67bf20
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
9499c5490e
commit
3b012d60b9
|
|
@ -1886,7 +1886,6 @@ void tst_QStyleSheetStyle::complexWidgetFocus()
|
|||
|
||||
centerOnScreen(&frame);
|
||||
frame.show();
|
||||
QApplicationPrivate::setActiveWindow(&frame);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&frame));
|
||||
for (QWidget *widget : widgets) {
|
||||
widget->setFocus();
|
||||
|
|
|
|||
Loading…
Reference in New Issue