on xenial help sign in
get rid of another wanring that may happen in some certain circumstances
1441aefMichael Zanetti
qml/Stages/PhoneStage.qml+1−1
@@ -164,7 +164,7 @@ Item {
164 // PropertyAction seems to fail when secondApplicationStarting and we didn't have another screenshot before
164 // PropertyAction seems to fail when secondApplicationStarting and we didn't have another screenshot before
165 ScriptAction { script: mainScreenshotImage.src = priv.focusedScreenshot }
165 ScriptAction { script: mainScreenshotImage.src = priv.focusedScreenshot }
166 PropertyAction { target: mainScreenshotImage; property: "visible"; value: true }
166 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 : "" }
168 PropertyAction { target: fadeInScreenshotImage; property: "visible"; value: true }
168 PropertyAction { target: fadeInScreenshotImage; property: "visible"; value: true }
169 PropertyAction { target: fadeInScreenshotImage; property: "opacity"; value: 0 }
169 PropertyAction { target: fadeInScreenshotImage; property: "opacity"; value: 0 }
170 PropertyAction { target: fadeInScreenshotImage; property: "scale"; value: .8 }
170 PropertyAction { target: fadeInScreenshotImage; property: "scale"; value: .8 }