tst_QMdiArea::dontMaximizeSubWindowOnActivation remove setActiveWindow
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I186538fb40d3d040bdf86d4bffb9853b92ed3a07
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
888459ff10
commit
cd37cda528
|
|
@ -1872,7 +1872,6 @@ void tst_QMdiArea::dontMaximizeSubWindowOnActivation()
|
|||
QMdiArea mdiArea;
|
||||
mdiArea.show();
|
||||
QVERIFY(QTest::qWaitForWindowExposed(&mdiArea));
|
||||
QApplicationPrivate::setActiveWindow(&mdiArea);
|
||||
|
||||
// Add one maximized window.
|
||||
mdiArea.addSubWindow(new QWidget)->showMaximized();
|
||||
|
|
|
|||
Loading…
Reference in New Issue