tst_QMenuBar::check_accelKeys() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I1ee591c0677e466c80ac0f8283fad4c4161aa195
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
9dc6344449
commit
0a81237064
|
|
@ -549,7 +549,6 @@ void tst_QMenuBar::check_accelKeys()
|
|||
QMainWindow w;
|
||||
initWindowWithComplexMenuBar(w);
|
||||
w.show();
|
||||
QApplicationPrivate::setActiveWindow(&w);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&w));
|
||||
|
||||
// start with a bogus key that shouldn't trigger anything
|
||||
|
|
|
|||
Loading…
Reference in New Issue