tst_QMenuBar::check_escKey remove QApplicationPrivate::setActiveWindow
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ib9f5844c79f37f0992076060548c30d80d20e323
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
7c5f7efeb7
commit
4da4273743
|
|
@ -787,7 +787,6 @@ void tst_QMenuBar::check_escKey()
|
|||
const TestMenu menu = initWindowWithComplexMenuBar(w);
|
||||
w.show();
|
||||
w.setFocus();
|
||||
QApplicationPrivate::setActiveWindow(&w);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&w));
|
||||
|
||||
QVERIFY( !menu.menus.at(0)->isActiveWindow() );
|
||||
|
|
|
|||
Loading…
Reference in New Issue