tst_QHeaderview::statusTips() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I685b8306d985418e06cc1ce21e872bb6586818e4
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
c44fa48477
commit
715be09f94
|
|
@ -3611,7 +3611,6 @@ void tst_QHeaderView::statusTips()
|
|||
headerView.setGeometry(QRect(QPoint(QGuiApplication::primaryScreen()->geometry().center() - QPoint(250, 250)),
|
||||
QSize(500, 500)));
|
||||
headerView.show();
|
||||
QApplicationPrivate::setActiveWindow(&headerView);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&headerView));
|
||||
|
||||
// Ensure it is moved away first and then moved to the relevant section
|
||||
|
|
|
|||
Loading…
Reference in New Issue