on xenial help sign in
Fix a few warnings in DashContent.qml on shutdown
b1355feAlbert Astals
Dash/DashContent.qml+2−2
@@ -116,8 +116,8 @@ Item {
116 source: scopeMapper.map(scope.id)
116 source: scopeMapper.map(scope.id)
117 objectName: scope.id + " loader"
117 objectName: scope.id + " loader"
118
118
119− readonly property bool previewShown: item.previewShown
119+ readonly property bool previewShown: item ? item.previewShown : false
120− readonly property bool moving: item.moving
120+ readonly property bool moving: item ? item.moving : false
121
121
122 // these are needed for autopilot tests
122 // these are needed for autopilot tests
123 readonly property string scopeId: scope.id
123 readonly property string scopeId: scope.id