on xenial help sign in
get rid of another wanring that may happen in some certain circumstances
commit1441aef49421c6027650a2d35b345831f7c6f3f7 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 13 Mar 2014, 10:50 (13 years ago) parent44cf7c3
1 file changed+1−1
qml/Stages/PhoneStage.qml+1−1
qml/Stages/PhoneStage.qml+1−1
@@ -164,7 +164,7 @@ Item {
164164 // PropertyAction seems to fail when secondApplicationStarting and we didn't have another screenshot before
165165 ScriptAction { script: mainScreenshotImage.src = priv.focusedScreenshot }
166166 PropertyAction { target: mainScreenshotImage; property: "visible"; value: true }
167− PropertyAction { target: fadeInScreenshotImage; property: "source"; value: ApplicationManager.findApplication(priv.newFocusedAppId).screenshot }
167+ PropertyAction { target: fadeInScreenshotImage; property: "source"; value: ApplicationManager.findApplication(priv.newFocusedAppId) ? ApplicationManager.findApplication(priv.newFocusedAppId).screenshot : "" }
168168 PropertyAction { target: fadeInScreenshotImage; property: "visible"; value: true }
169169 PropertyAction { target: fadeInScreenshotImage; property: "opacity"; value: 0 }
170170 PropertyAction { target: fadeInScreenshotImage; property: "scale"; value: .8 }