on xenial help sign in
CardTool: Fix the fallback value to be a size and not an integer
1b2aa92Albert Astals Cid
qml/Dash/CardTool.qml+1−1
@@ -141,7 +141,7 @@ Item {
141 type:real \brief Height of the card's header.
141 type:real \brief Height of the card's header.
142 */
142 */
143 readonly property int headerHeight: cardLoader.item ? cardLoader.item.headerHeight : 0
143 readonly property int headerHeight: cardLoader.item ? cardLoader.item.headerHeight : 0
144− property size artShapeSize: cardLoader.item ? cardLoader.item.artShapeSize : 0
144+ property size artShapeSize: cardLoader.item ? cardLoader.item.artShapeSize : Qt.size(0, 0)
145
145
146 QtObject {
146 QtObject {
147 id: carouselTool
147 id: carouselTool