CardTool: Fix the fallback value to be a size and not an integer
commit1b2aa92063897b087ee4842f77b358635fcde6c0
authorAlbert Astals Cid <albert.astals@canonical.com>
dateMon 27 Jun 2016, 18:45 (10 years ago)
parent74b264edbb0e7d
qml/Dash/CardTool.qml+1−1
@@ -141,7 +141,7 @@ Item {
141141 type:real \brief Height of the card's header.
142142 */
143143 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)
145145
146146 QtObject {
147147 id: carouselTool