tst_QLineEdit::QTBUG697_paletteCurrentColorGroup remove setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I1b295e3af677ade04fa945fc0e0620b730899b3e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
478dacbbf0
commit
fe161b9900
|
|
@ -4082,7 +4082,6 @@ void tst_QLineEdit::QTBUG697_paletteCurrentColorGroup()
|
|||
le.setPalette(p);
|
||||
|
||||
le.show();
|
||||
QApplicationPrivate::setActiveWindow(&le);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&le));
|
||||
le.setFocus();
|
||||
QTRY_VERIFY(le.hasFocus());
|
||||
|
|
|
|||
Loading…
Reference in New Issue