task210502_caseInsensitiveInlineCompletion() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I229b46c53b302aa025aab9bb0b5226835ad96617
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
a4bffbd066
commit
39ef9f76fc
|
|
@ -3829,7 +3829,6 @@ void tst_QLineEdit::task210502_caseInsensitiveInlineCompletion()
|
|||
completer.setCompletionMode(QCompleter::InlineCompletion);
|
||||
lineEdit.setCompleter(&completer);
|
||||
lineEdit.show();
|
||||
QApplicationPrivate::setActiveWindow(&lineEdit);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&lineEdit));
|
||||
lineEdit.setFocus();
|
||||
QTRY_VERIFY(lineEdit.hasFocus());
|
||||
|
|
|
|||
Loading…
Reference in New Issue