mirror of https://github.com/qt/qtbase.git
QTBUG_25669_menubarActionDoubleTriggered() remove setActiveWindow()
2f6fe3a268
as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I0ac3813a5082af9ca86e6d5fa746685f12e6389d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
parent
2cc92f6eda
commit
85543ed012
|
@ -1494,7 +1494,6 @@ void tst_QMenuBar::QTBUG_25669_menubarActionDoubleTriggered()
|
|||
QSignalSpy spy(win.menuBar(), &QMenuBar::triggered);
|
||||
|
||||
win.show();
|
||||
QApplicationPrivate::setActiveWindow(&win);
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&win));
|
||||
|
||||
QPoint posAct1 = menuBarActionWindowPos(win.menuBar(), act1);
|
||||
|
|
Loading…
Reference in New Issue