task_QTBUG_1071_changingFocusEmitsActivated() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I33e7f6b7a9d883de91084b2578990d9641dd9b8d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
68b5eb6bd8
commit
706fe558d8
|
|
@ -2849,7 +2849,6 @@ void tst_QComboBox::task_QTBUG_1071_changingFocusEmitsActivated()
|
|||
layout.addWidget(&edit);
|
||||
|
||||
w.show();
|
||||
QApplicationPrivate::setActiveWindow(&w);
|
||||
QVERIFY(QTest::qWaitForWindowActive(&w));
|
||||
cb.clearEditText();
|
||||
cb.setFocus();
|
||||
|
|
|
|||
Loading…
Reference in New Issue