tst_QMenuBar::check_menuPosition() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I2e8e1e8b2809937e3f7c1e5362afb037d953c950
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
9ec05ffb13
commit
f515b53493
|
|
@ -983,7 +983,6 @@ void tst_QMenuBar::check_menuPosition()
|
|||
QAction *menu_action = w.menuBar()->addMenu(&menu);
|
||||
centerOnScreen(&w);
|
||||
w.show();
|
||||
QApplicationPrivate::setActiveWindow(&w);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&w));
|
||||
|
||||
//the menu should be below the menubar item
|
||||
|
|
|
|||
Loading…
Reference in New Issue