on xenial help sign in
Enumerate safe end-states for wallpaper
commit2f04183fe8615670bff979569a77dd991c1a1588 authorMichael Terry <michael.terry@canonical.com> dateWed 14 Aug 2013, 09:43 (13 years ago) parentd54ad81
1 file changed+1−1
Greeter/GreeterContent.qml+1−1
Greeter/GreeterContent.qml+1−1
@@ -23,7 +23,7 @@ MouseArea {
2323 id: root
2424 anchors.fill: parent
2525
26− property bool ready: wallpaper.status != Image.Loading // null, ready, and error are all end states
26+ property bool ready: wallpaper.source == "" || wallpaper.status == Image.Ready || wallpaper.status == Image.Error
2727 property bool leftTeaserPressed: teasingMouseArea.pressed &&
2828 teasingMouseArea.mouseX < teasingMouseArea.width / 2
2929 property bool rightTeaserPressed: teasingMouseArea.pressed &&