Code review comment for lp:~mzanetti/unity8/right-edge-2

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

In PhoneStage.qml:

"""
+ property bool fullscreen: ApplicationManager.findApplication(ApplicationManager.focusedApplicationId).fullscreen
"""

That generates errors, polluting the console, when there's no focused application. Having it the following way is more concise and solves this issue:

property bool fullscreen: priv.focusedApplication ? priv.focusedApplication.fullscreen : false

« Back to merge proposal