diff options
author | Bea Lam <bea.lam@nokia.com> | 2012-06-04 13:34:57 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-06 10:14:01 +0200 |
commit | c37c4215b0cfd31967b5799ebb0f0e78a55f7e85 (patch) | |
tree | e4bc695f80093b598c325ab530ed61605b79a943 /tests/auto/quick/qquickflickable/data | |
parent | 734c8ffbd361467d01eb278e9e289795f7139e94 (diff) |
Don't emit moving and flicking signals unnecessarily
The moving and flicking signals should only be emitted once when
the view has been moved/flicked both vertically and horizontally. (This
was already done correctly for the dragging signals.)
Also changes QQuickFlickable::flick() to return bool instead of void.
Subclasses no longer emit the flicking signals but call
flickingStarted() instead.
Also splits the tst_qquickflickable::movingAndDragging() test up into
several tests.
Change-Id: Ie527568a9702049dd0bcda18c2eb3e43d8938a18
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickflickable/data')
-rw-r--r-- | tests/auto/quick/qquickflickable/data/flickable03.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickflickable/data/flickable03.qml b/tests/auto/quick/qquickflickable/data/flickable03.qml index 719c682ee6..a3e9d6fd59 100644 --- a/tests/auto/quick/qquickflickable/data/flickable03.qml +++ b/tests/auto/quick/qquickflickable/data/flickable03.qml @@ -8,7 +8,7 @@ Flickable { id: column Repeater { model: 20 - Rectangle { width: 200; height: 300; color: "blue" } + Rectangle { width: 200; height: 300; border.width: 1; color: "yellow" } } } } |