Fix an annoying warning
commitc534730265d1dc7b90ff58bd9ff647aa1464f6f7
authorDaniel d'Andrada <daniel.dandrada@canonical.com>
dateMon 21 Sep 2015, 10:10 (11 years ago)
parent1de5dcc
qml/Stages/SpreadDelegate.qml+1−1
@@ -268,7 +268,7 @@ FocusScope {
268268 focus: true
269269 anchors {
270270 fill: parent
271− topMargin: appWindow.fullscreen || application.rotatesWindowContents
271+ topMargin: appWindow.fullscreen || (application && application.rotatesWindowContents)
272272 ? 0 : maximizedAppTopMargin
273273 }
274274