tst_QScroller::mouseEventTimestamp() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.
Remove redundant calls.
Task-number: QTBUG-121488
Change-Id: I8f118386b861bfab61fa61c9fb4cf5863abcac83
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
bb10
parent
f81fa1de1d
commit
efbac03168
|
|
@ -534,7 +534,6 @@ void tst_QScroller::mouseEventTimestamp()
|
|||
QScroller::grabGesture(sw.data(), QScroller::LeftMouseButtonGesture);
|
||||
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