task250119_shortcutContext() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: Ie98bdf64973eeac91dd914af7af347cccb0ad5d3
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
0e2395dc09
commit
c7b1f4251a
|
|
@ -2694,7 +2694,6 @@ void tst_QGraphicsWidget::task250119_shortcutContext()
|
|||
QGraphicsView view;
|
||||
view.setScene(&scene);
|
||||
view.show();
|
||||
QApplicationPrivate::setActiveWindow(&view);
|
||||
QTRY_COMPARE(QApplication::activeWindow(), (QWidget*)&view);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue