fix warning
commit07c7668e5d813732436af1dd8db084274fdfd618
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateMon 27 Feb 2017, 15:26 (10 years ago)
parent1fe62a0
tests/qmltests/tst_Shell.qml+2−1
@@ -379,7 +379,8 @@ Rectangle {
379379 target: chromeAppCheck
380380 when: topLevelSurfaceList && topLevelSurfaceList.focusedWindow !== null && topLevelSurfaceList.focusedWindow.surface !== null
381381 property: "checked"
382− value: topLevelSurfaceList.focusedWindow.surface.shellChrome === Mir.LowChrome
382+ value: topLevelSurfaceList.focusedWindow.surface &&
383+ topLevelSurfaceList.focusedWindow.surface.shellChrome === Mir.LowChrome
383384 }
384385 }
385386 Label {