From 37b1a97f89005a4f1b36d7bc11ce752ad609d9f6 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 1 Apr 2020 18:14:48 -0700 Subject: 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 --- mobile-widgets/qml/DiveList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qml/DiveList.qml') 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") } -- cgit v1.2.3-70-g09d2