Fix the fallback value to be a size and not an integer
commitdbb0e7dde350f64cbf3abd4bfa800ba24641e139
authorAlbert Astals Cid <albert.astals@canonical.com>
dateMon 20 Jun 2016, 16:48 (10 years ago)
parente9a27e4
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