diff --git a/src/FlightDisplay/GuidedActionsController.qml b/src/FlightDisplay/GuidedActionsController.qml index dcfe0b0a0ed66542160b78a6e39378614e78a5fa..8b3b389e98f6e93471fc14e2a68ba446bdc26a69 100644 --- a/src/FlightDisplay/GuidedActionsController.qml +++ b/src/FlightDisplay/GuidedActionsController.qml @@ -27,7 +27,6 @@ import QGroundControl.FlightMap 1.0 Item { id: _root - property var wimaController property var missionController property var confirmDialog property var actionList @@ -132,7 +131,6 @@ Item { property bool showLandAbort: _guidedActionsEnabled && _vehicleFlying && _fixedWingOnApproach property bool showGotoLocation: _guidedActionsEnabled && _vehicleFlying property bool showActionList: _guidedActionsEnabled && (showStartMission || showResumeMission || showChangeAlt || showLandAbort) - property bool wimaEnabled: wimaController.enableWimaController.value // Note: The '_missionItemCount - 2' is a hack to not trigger resume mission when a mission ends with an RTL item property bool showResumeMission: _activeVehicle && !_vehicleArmed && _vehicleWasFlying && _missionAvailable && _resumeMissionIndex > 0 && (_resumeMissionIndex < _missionItemCount - 2) @@ -558,14 +556,6 @@ Item { break case actionROI: _activeVehicle.guidedModeROI(actionData) - case actionForceUpload: - wimaController.forceUpload() - break - case actionSmartRTLPathConfirm: - wimaController.executeSmartRTL() - break - case actionSmartRTLRequestConfirm: - wimaController.initSmartRTL() break default: console.warn(qsTr("Internal error: unknown actionCode"), actionCode)