tst_QGraphicsScene::removeFullyTransparentItem remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I171d17f0ded6c74607ed2538e1550af52cabded1
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
b66089a453
commit
a4ed4dda7a
|
|
@ -4354,7 +4354,6 @@ void tst_QGraphicsScene::removeFullyTransparentItem()
|
|||
view.resize(m_testSize);
|
||||
view.setScene(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
QCoreApplication::processEvents(); // Process all queued paint events
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue