tst_QGraphicsScene::inputMethod() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I1d866ec703b81cde0c01335ae13b503bccca3d7d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
a89933e2dc
commit
f94b7cdbd3
|
|
@ -3823,7 +3823,6 @@ void tst_QGraphicsScene::inputMethod()
|
|||
view.resize(m_testSize);
|
||||
view.show();
|
||||
view.setWindowTitle(QTest::currentTestFunction());
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
view.setFocus();
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QCOMPARE(QApplication::activeWindow(), &view);
|
||||
|
|
|
|||
Loading…
Reference in New Issue