on xenial help sign in
Do not show ubuntuShape framed lazyimage when not requested
0ee4a1aAndrea Cimitan
qml/Components/LazyImage.qml+5−2
@@ -49,12 +49,15 @@ Item {
49 }
49 }
50 }
50 }
51
51
52− UbuntuShape {
52+ Loader {
53 id: placeholder
53 id: placeholder
54 objectName: "placeholder"
54 objectName: "placeholder"
55− backgroundColor: "#22FFFFFF"
56 anchors.fill: shape
55 anchors.fill: shape
56+ active: useUbuntuShape
57 visible: opacity != 0
57 visible: opacity != 0
58+ sourceComponent: UbuntuShape {
59+ backgroundColor: "#22FFFFFF"
60+ }
58
61
59 ActivityIndicator {
62 ActivityIndicator {
60 id: activity
63 id: activity