tst_QMenuBar::activatedCount() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I0816de76b2098580aa04262e5317ad028de702e0
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
21b1dff5bd
commit
9dc6344449
|
|
@ -350,7 +350,6 @@ void tst_QMenuBar::activatedCount()
|
|||
QFETCH( bool, forceNonNative );
|
||||
initWindowWithSimpleMenuBar(w, forceNonNative);
|
||||
w.show();
|
||||
QApplicationPrivate::setActiveWindow(&w);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&w));
|
||||
|
||||
QTest::keyClick(static_cast<QWidget *>(0), Qt::Key_A, Qt::ControlModifier );
|
||||
|
|
|
|||
Loading…
Reference in New Issue