diff options
author | Sebastian Kügler <sebas@kde.org> | 2016-01-12 01:59:09 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2016-01-12 03:06:09 +0100 |
commit | ae0f680c6e9ffc7804b99fe5058ca7c135ce1e42 (patch) | |
tree | c9f133b52eae58371be773cca25dba198ad92e55 | |
parent | 6540e95425eb4c8aad56c5c5388c25b2180817cb (diff) | |
download | subsurface-ae0f680c6e9ffc7804b99fe5058ca7c135ce1e42.tar.gz |
Kill warning
Apparently parent.height is negative sometimes.
Signed-off-by: Sebastian Kügler <sebas@kde.org>
-rw-r--r-- | qt-mobile/qml/GpsList.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |