on xenial help sign in
add commetn
fe871d7Albert Astals Cid
plugins/Dash/CroppedImageMinimumSourceSize.qml+2
@@ -24,6 +24,8 @@ Image {
24 property bool useHeight: false
24 property bool useHeight: false
25 function updateUseHeight()
25 function updateUseHeight()
26 {
26 {
27+ // Do not turn into a binding since otherwise the qml
28+ // engine complains about binding loops
27 useHeight = (implicitWidth / implicitHeight) > (width / height);
29 useHeight = (implicitWidth / implicitHeight) > (width / height);
28 }
30 }
29
31