taskQTBUG11823_crashwithInvisibleActions() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I1ac84b3166bb17e120b0c38b7d164f2e4e412e6d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
3b5f31a80c
commit
9df78efbd1
|
|
@ -1240,7 +1240,6 @@ void tst_QMenuBar::taskQTBUG11823_crashwithInvisibleActions()
|
|||
|
||||
centerOnScreen(&menubar);
|
||||
menubar.show();
|
||||
QApplicationPrivate::setActiveWindow(&menubar);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&menubar));
|
||||
menubar.setActiveAction(m);
|
||||
QCOMPARE(menubar.activeAction(), m);
|
||||
|
|
|
|||
Loading…
Reference in New Issue