tst_QGraphicsProxyWidget::tooltip_basic() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I842e1c01007cc56e07a27a6e15ff173c4f6aece2
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
0fef8f53c3
commit
23ecc6ce70
|
|
@ -2455,7 +2455,6 @@ void tst_QGraphicsProxyWidget::tooltip_basic()
|
|||
QGraphicsView view(&scene);
|
||||
view.setFixedSize(200, 200);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&view));
|
||||
{
|
||||
QHelpEvent helpEvent(QEvent::ToolTip, view.viewport()->rect().topLeft(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue