diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-06-12 09:19:35 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-13 01:41:58 +0200 |
commit | 86cbb55522f9a4ca76854be860a8131f006553a8 (patch) | |
tree | 9c1489de62ab7efb0038f393b8e1ab7ef9d5c925 /tests/auto/quick/qquickvisualdatamodel | |
parent | eba101e4974b3f6150e299f3f2e513124c69eadf (diff) |
Set a non-zero default cacheBuffer.
The likelihood of constant framerate when flicking is considerably
improved by having a cacheBuffer. Since there is only a minimal cost
in having a modest cacheBuffer, it is better to have a more optimal
default value - 320 seems a good starting point.
Change-Id: Id3c8a153821573b5b08c6fbd80d34152908d358d
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickvisualdatamodel')
-rw-r--r-- | tests/auto/quick/qquickvisualdatamodel/data/packageView.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickvisualdatamodel/data/packageView.qml b/tests/auto/quick/qquickvisualdatamodel/data/packageView.qml index 682f3833d1..e3719a8be0 100644 --- a/tests/auto/quick/qquickvisualdatamodel/data/packageView.qml +++ b/tests/auto/quick/qquickvisualdatamodel/data/packageView.qml @@ -44,6 +44,7 @@ Item { ListView { id: leftList objectName: "leftList" + cacheBuffer: 0 anchors { left: parent.left; top: parent.top; right: parent.horizontalCenter; bottom: parent.bottom @@ -54,6 +55,7 @@ Item { ListView { id: rightList objectName: "rightList" + cacheBuffer: 0 anchors { left: parent.horizontalCenter; top: parent.top; right: parent.right; bottom: parent.bottom |