@@ -268,7 +268,7 @@ FocusScope {
268 focus: true
268 focus: true
269 anchors {
269 anchors {
270 fill: parent
270 fill: parent
271− topMargin: appWindow.fullscreen || application.rotatesWindowContents
271+ topMargin: appWindow.fullscreen || (application && application.rotatesWindowContents)
272 ? 0 : maximizedAppTopMargin
272 ? 0 : maximizedAppTopMargin