on xenial help sign in
get rid of warning in case there is no fullscreen app
commit44cf7c3cf8b3d1f147cacde8aafe09d3bc144f8b authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 13 Mar 2014, 10:46 (13 years ago) parentdca7d51
1 file changed+1−1
qml/Stages/PhoneStage.qml+1−1
qml/Stages/PhoneStage.qml+1−1
@@ -31,7 +31,7 @@ Item {
3131
3232 // State information propagated to the outside
3333 readonly property bool painting: mainScreenshotImage.visible || fadeInScreenshotImage.visible || appSplash.visible || spreadView.visible
34− property bool fullscreen: ApplicationManager.findApplication(ApplicationManager.focusedApplicationId).fullscreen
34+ property bool fullscreen: priv.focusedApplication ? priv.focusedApplication.fullscreen : false
3535 property bool locked: spreadView.visible
3636
3737 // Not used for PhoneStage, only useful for SideStage and similar