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