aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktextinput.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2017-01-11 16:40:28 +0100
committerRobin Burchell <robin.burchell@crimson.no>2017-01-11 23:10:27 +0000
commit3294d1b291ebd52eb967c7cdb2081ce4e594ad89 (patch)
treea53ebc30824041c41b65efad7f58a168d3c43f7b /src/quick/items/qquicktextinput.cpp
parent0252d05d06f450b2f2783c905c424d24725fc70a (diff)
tst_touchmouse: Have a go at some stabilisation & improvements
* Use QScopedPointer to own views, preventing leakage (was a problem in a few of these tests, e.g. pinchOnFlickable/flickableOnPinch/mouseOnFlickableOnPinch) * Only qWaitForWindowActive, as the tests aren't doing anything graphical, they don't need an expose event, which means less waiting * Use the test utilities to center the windows on screen to make sure they are not under desktop chrome & have a non-null position. If position is 0,0 that means window->position().isNull() is true, so qWaitForWindowActive will wait for its entire timeout: 5 seconds. This means no "manual" tweaking of geometry anymore: the position is now taken care of by the test utilities, and we let the root QML item size determine the window size. * Move the mouse away from the window using the test utilities. Done-with: Shawn Rutledge Change-Id: I4ac6a0d56067c57ef51f186fe3cd118cab056ff2 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items/qquicktextinput.cpp')
0 files changed, 0 insertions, 0 deletions