From ae0f680c6e9ffc7804b99fe5058ca7c135ce1e42 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Tue, 12 Jan 2016 01:59:09 +0100 Subject: Kill warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently parent.height is negative sometimes. Signed-off-by: Sebastian Kügler --- qt-mobile/qml/GpsList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml index 0ee654fc1..8e9349c3c 100644 --- a/qt-mobile/qml/GpsList.qml +++ b/qt-mobile/qml/GpsList.qml @@ -115,7 +115,7 @@ MobileComponents.Page { delegate: gpsDelegate boundsBehavior: Flickable.StopAtBounds maximumFlickVelocity: parent.height * 5 - cacheBuffer: parent.height *5 + cacheBuffer: Math.max(5000, parent.height * 5) focus: true clip: true header: MobileComponents.Heading { -- cgit v1.2.3-70-g09d2