tst_QGraphicsItem::tooltip remove QApplicationPrivate::setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I61373fced8dbee0e0d8a85c98613cf0a322ec925
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
f85e123c40
commit
3d4a388950
|
|
@ -1049,7 +1049,6 @@ void tst_QGraphicsItem::toolTip()
|
|||
view.setWindowTitle(QLatin1String(QTest::currentTestFunction()));
|
||||
view.setFixedSize(200, 200);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue