diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-22 15:31:17 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 11:38:26 -0700 |
commit | face9ba1a8aa2caae065b677885515b94e05e0ae (patch) | |
tree | 0940b27f491e944507f1e9e7cc05a77e300afaa9 /mobile-widgets/qml/Log.qml | |
parent | a4ca3c520c7fbae5d1739a88e928a60585676ade (diff) | |
download | subsurface-face9ba1a8aa2caae065b677885515b94e05e0ae.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/Log.qml')
-rw-r--r-- | mobile-widgets/qml/Log.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |