tst_QScroller::scroll() remove QApplicationPrivate::setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I3bfbad661ffc157777a1d598b1999b0d8625eec3
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
bcd3a00dfa
commit
b3ae097a2c
|
|
@ -355,7 +355,6 @@ void tst_QScroller::scroll()
|
|||
QScroller::grabGesture(sw.data(), QScroller::TouchGesture);
|
||||
sw->setGeometry(100, 100, 400, 300);
|
||||
sw->show();
|
||||
QApplicationPrivate::setActiveWindow(sw.data());
|
||||
if (!QTest::qWaitForWindowExposed(sw.data()) || !QTest::qWaitForWindowActive(sw.data()))
|
||||
QSKIP("Failed to show and activate window");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue