task_QTBUG_52027_mapCompleterIndex() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I57ed053e2bc6a2b0a05befecc8f7368d3b54fd0d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
706fe558d8
commit
b21302469a
|
|
@ -3551,7 +3551,6 @@ void tst_QComboBox::task_QTBUG_52027_mapCompleterIndex()
|
|||
QCOMPARE(spy.size(), 0);
|
||||
cbox.move(200, 200);
|
||||
cbox.show();
|
||||
QApplicationPrivate::setActiveWindow(&cbox);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&cbox));
|
||||
|
||||
QTest::keyClicks(&cbox, "foobar2");
|
||||
|
|
@ -3577,7 +3576,6 @@ void tst_QComboBox::task_QTBUG_52027_mapCompleterIndex()
|
|||
cbox.activateWindow();
|
||||
}
|
||||
|
||||
QApplicationPrivate::setActiveWindow(&cbox);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&cbox));
|
||||
|
||||
QTest::keyClicks(&cbox, "foobar1");
|
||||
|
|
|
|||
Loading…
Reference in New Issue