tst_QMenuBar::check_shortcutPress() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I569d6316f3fa7b7131ce3c8448784f0588008a2c
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
48083186a1
commit
9ec05ffb13
|
|
@ -927,7 +927,6 @@ void tst_QMenuBar::check_shortcutPress()
|
|||
const TestMenu menu = initWindowWithComplexMenuBar(w);
|
||||
w.show();
|
||||
w.setFocus();
|
||||
QApplicationPrivate::setActiveWindow(&w);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&w));
|
||||
|
||||
QCOMPARE(m_complexTriggerCount[3], 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue