summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2017-03-16 14:16:16 +0100
committerAleix Pol <[email protected]>2017-03-16 14:16:16 +0100
commitc059b7955a434962e5ab793d753d62031b4fab4c (patch)
tree57489a4f9bfb821c637ec9420eb2b9695a0deade
parent5093b6df5374c323791e8e798bd704cf06888b56 (diff)
fix warning
-rw-r--r--discover/qml/ReviewsPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/qml/ReviewsPage.qml b/discover/qml/ReviewsPage.qml
index a4ef912..3450c6b 100644
--- a/discover/qml/ReviewsPage.qml
+++ b/discover/qml/ReviewsPage.qml
@@ -42,7 +42,7 @@ Kirigami.OverlaySheet {
clip: true
spacing: Kirigami.Units.smallSpacing
- cacheBuffer: contentHeight
+ cacheBuffer: Math.max(0, contentHeight)
header: Button {
visible: page.reviewsBackend != null && page.resource.isInstalled