tst_QTextEdit::inputMethodEvent() remove setActiveWindow()
2f6fe3a26843ff68c5d3f9af0a2fc3cce6caac22 as made calls to QApplicationPrivate::setActiveWindow() redundant. Remove redundant calls. Task-number: QTBUG-121488 Change-Id: I53e5f5c58a7a404c1886edb5c076250388e47ab9 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
parent
23f983fa09
commit
432ae2e7b9
@ -2545,7 +2545,6 @@ void tst_QTextEdit::inputMethodEvent()
|
||||
|
||||
// test that input method gets chance to commit preedit when removing focus
|
||||
ed->setText("");
|
||||
QApplicationPrivate::setActiveWindow(ed);
|
||||
QTRY_VERIFY(QApplication::focusWindow());
|
||||
QCOMPARE(qApp->focusObject(), ed);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user