diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-01 18:14:48 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-04 12:00:25 -0700 |
commit | 37b1a97f89005a4f1b36d7bc11ce752ad609d9f6 (patch) | |
tree | 60553b8af291d8ad8504ad73359c05e3ab739eef /mobile-widgets | |
parent | 66d3eaa9430bab4ee2c8974eb73ea185973c7617 (diff) | |
download | subsurface-37b1a97f89005a4f1b36d7bc11ce752ad609d9f6.tar.gz |
mobile/dive-list: don't use cacheBuffer
QML documentation recommends against using the cacheBuffer for longer
lists and doing more testing shows that this really doesn't help at all.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 1e42f6444..771bbb286 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -442,7 +442,7 @@ Kirigami.ScrollablePage { boundsBehavior: Flickable.DragOverBounds maximumFlickVelocity: parent.height * 5 bottomMargin: Kirigami.Units.iconSizes.medium + Kirigami.Units.gridUnit - cacheBuffer: 40 // this will increase memory use, but should help with scrolling + cacheBuffer: 0 Component.onCompleted: { manager.appendTextToLog("finished setting up the diveListView") } |