From acdcf6bbd25b570c8af364a493f15e4ee4053e0d Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Fri, 6 Mar 2020 15:33:48 -0400 Subject: [PATCH] Clean up code used only on custom builds. --- src/FlightDisplay/VTOLChecklist.qml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/src/FlightDisplay/VTOLChecklist.qml b/src/FlightDisplay/VTOLChecklist.qml index 40aa5ace4..f0235e399 100644 --- a/src/FlightDisplay/VTOLChecklist.qml +++ b/src/FlightDisplay/VTOLChecklist.qml @@ -17,8 +17,6 @@ import QGroundControl.Controls 1.0 import QGroundControl.FlightDisplay 1.0 import QGroundControl.Vehicle 1.0 -import CustomQuickInterface 1.0 - Item { property var model: listModel PreFlightCheckModel { @@ -26,31 +24,6 @@ Item { PreFlightCheckGroup { name: qsTr("VTOL Initial Checks") - // Standard check list items (group 0) - Available from the start - Rectangle { - width: ScreenTools.defaultFontPixelWidth * 40 - height: testFlight.height + ScreenTools.defaultFontPixelHeight - color: qgcPal.button - property bool passed: true - function reset() { - if(activeVehicle) { - CustomQuickInterface.testFlight = false - activeVehicle.checkListState = Vehicle.CheckListNotSetup - } - } - QGCCheckBox { - id: testFlight - text: "Test Flight" - enabled: !CustomQuickInterface.debugBuild - checked: CustomQuickInterface.testFlight - anchors.centerIn: parent - onClicked: CustomQuickInterface.testFlight = checked - Component.onCompleted: { - CustomQuickInterface.testFlight = false - } - } - } - PreFlightCheckButton { name: qsTr("Hardware") manualText: qsTr("Props mounted? Wings secured? Tail secured?") -- 2.22.0