From 2826dc7247bfc0bef512d566435292e8b9fd3817 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Sun, 20 Aug 2017 16:09:50 -0400 Subject: [PATCH] Fixing uninitialized variable warning. --- src/PlanView/SurveyItemEditor.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlanView/SurveyItemEditor.qml b/src/PlanView/SurveyItemEditor.qml index 7ac65cfcc..25b7bd2e3 100644 --- a/src/PlanView/SurveyItemEditor.qml +++ b/src/PlanView/SurveyItemEditor.qml @@ -30,7 +30,7 @@ Rectangle { property real _fieldWidth: ScreenTools.defaultFontPixelWidth * 10.5 property var _cameraList: [ qsTr("Manual Grid (no camera specs)"), qsTr("Custom Camera Grid") ] property var _vehicle: QGroundControl.multiVehicleManager.activeVehicle ? QGroundControl.multiVehicleManager.activeVehicle : QGroundControl.multiVehicleManager.offlineEditingVehicle - property var _vehicleCameraList: _vehicle.staticCameraList + property var _vehicleCameraList: _vehicle ? _vehicle.staticCameraList : [] readonly property int _gridTypeManual: 0 readonly property int _gridTypeCustomCamera: 1 -- 2.22.0