Stabilize tst_QQuickWheelHandler's activeChangedSpy checks

Change-Id: I9fa36d12347f0311728dc14ab4b8405bf0550505
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Shawn Rutledge 2019-04-27 07:26:27 +02:00
parent 5d45aa1a64
commit 3ef2b2727d
2 changed files with 5 additions and 3 deletions

View File

@ -47,8 +47,8 @@ Rectangle {
WheelHandler {
id: innerWheelHandler
objectName: "innerWheelHandler"
// should deactivate because events go to the outer handler, not because of timeout
activeTimeout: 1
// TODO should ideally deactivate because events go to the outer handler, not because of timeout
activeTimeout: 0.5
property: "x"
}
}

View File

@ -39,5 +39,7 @@ Rectangle {
}
}
WheelHandler { }
WheelHandler {
activeTimeout: 0.5
}
}