tst_QToolButton::task176137_autoRepeatOfAction remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I233fe1a3dbd3e8ab149f939ebeaaffb5abed4f43
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
30cc8a28de
commit
9c1e844fc4
|
|
@ -182,7 +182,6 @@ void tst_QToolButton::task176137_autoRepeatOfAction()
|
|||
label->move(0, 50);
|
||||
|
||||
mainWidget.show();
|
||||
QApplicationPrivate::setActiveWindow(&mainWidget);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&mainWidget));
|
||||
|
||||
QSignalSpy spy(&action,SIGNAL(triggered()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue