on xenial help sign in
Match the other ifs structre
30065aeAlbert Astals
qml/Dash/Card.qml+1−1
@@ -87,7 +87,7 @@ AbstractButton {
87 height = Qt.binding(function() { return !visible ? 0 : image.fillMode === Image.PreserveAspectCrop ? image.height : width / image.aspect });
87 height = Qt.binding(function() { return !visible ? 0 : image.fillMode === Image.PreserveAspectCrop ? image.height : width / image.aspect });
88 } else {
88 } else {
89 width = Qt.binding(function() { return !visible ? 0 : image.fillMode === Image.PreserveAspectCrop ? image.width : height * image.aspect });
89 width = Qt.binding(function() { return !visible ? 0 : image.fillMode === Image.PreserveAspectCrop ? image.width : height * image.aspect });
90− height = Qt.binding(function() { return visible ? image.height : 0 });
90+ height = Qt.binding(function() { return !visible ? 0 : image.height });
91 }
91 }
92 }
92 }
93
93