summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2016-12-16 19:46:42 +0100
committerAleix Pol <[email protected]>2016-12-16 19:46:42 +0100
commit122f80941607179da796ff46a4c22487eef894f1 (patch)
tree78e664e58ad7b7b828794816d4ebbed892c7d0a7
parent63ae0f17ba30cd86871c36355711bc0423b87834 (diff)
Fix warning
-rw-r--r--discover/qml/CategoryDisplay.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/qml/CategoryDisplay.qml b/discover/qml/CategoryDisplay.qml
index d016497..a8c3934 100644
--- a/discover/qml/CategoryDisplay.qml
+++ b/discover/qml/CategoryDisplay.qml
@@ -30,7 +30,7 @@ PageHeader {
id: header
property QtObject category: null
Layout.fillWidth: true
- background: category.decoration
+ background: category ? category.decoration : ""
Item {
Layout.fillWidth: true