tst_QMdiArea::subWindowActivateWithMinimize() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ide54b0b59eff8e309faeb1284ce4f55c24cf60b7
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
cc7ec01229
commit
aa8d720ea9
|
|
@ -515,7 +515,6 @@ void tst_QMdiArea::subWindowActivatedWithMinimize()
|
|||
QSignalSpy spy(workspace, SIGNAL(subWindowActivated(QMdiSubWindow*)));
|
||||
connect( workspace, SIGNAL(subWindowActivated(QMdiSubWindow*)), this, SLOT(activeChanged(QMdiSubWindow*)) );
|
||||
mw.show();
|
||||
QApplicationPrivate::setActiveWindow(&mw);
|
||||
QWidget *widget = new QWidget(workspace);
|
||||
widget->setAttribute(Qt::WA_DeleteOnClose);
|
||||
QMdiSubWindow *window1 = workspace->addSubWindow(widget);
|
||||
|
|
|
|||
Loading…
Reference in New Issue