From face9ba1a8aa2caae065b677885515b94e05e0ae Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 22 Oct 2019 15:31:17 -0400 Subject: Mobile: fix cacheBuffer for log window The old value made no sense at all. Why would we want to cache up to 10k entries of the log? Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/Log.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qml/Log.qml') diff --git a/mobile-widgets/qml/Log.qml b/mobile-widgets/qml/Log.qml index a027b7513..6776d0158 100644 --- a/mobile-widgets/qml/Log.qml +++ b/mobile-widgets/qml/Log.qml @@ -21,7 +21,7 @@ Kirigami.ScrollablePage { currentIndex: -1 boundsBehavior: Flickable.StopAtBounds maximumFlickVelocity: parent.height * 5 - cacheBuffer: Math.max(5000, parent.height * 5) + cacheBuffer: 100 // cache up to 100 lines above / below what is shown for smoother scrolling focus: true clip: true delegate : Text { -- cgit v1.2.3-70-g09d2