summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-01 18:14:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-04 12:00:25 -0700
commit37b1a97f89005a4f1b36d7bc11ce752ad609d9f6 (patch)
tree60553b8af291d8ad8504ad73359c05e3ab739eef
parent66d3eaa9430bab4ee2c8974eb73ea185973c7617 (diff)
downloadsubsurface-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>
-rw-r--r--mobile-widgets/qml/DiveList.qml2
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")
}