From c1bcba46f034434a56c1c37defafa214b26b270b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 16 Apr 2018 11:45:38 -0700 Subject: [PATCH] QML UI: dive list performance: enable caching We had turned this off since it caused rendering issues, but that appears to be fixed now - and it should help to get us smoother rendering of the dive list. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 0ff7a67cd..8917f0a58 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -390,7 +390,7 @@ Kirigami.ScrollablePage { boundsBehavior: Flickable.DragOverBounds maximumFlickVelocity: parent.height * 5 bottomMargin: Kirigami.Units.iconSizes.medium + Kirigami.Units.gridUnit - cacheBuffer: 0 // seems to avoid empty rendered profiles + cacheBuffer: 40 // this will increase memory use, but should help with scrolling section.property: "dive.tripMeta" section.criteria: ViewSection.FullString section.delegate: tripHeading