From 4b8317d527d6b1b1dd600d771ec97a17d7e59720 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Sat, 27 Apr 2019 12:44:33 -0400 Subject: [PATCH] Remove unused stuff --- src/FlightMap/FlightMap.qml | 2 -- src/PlanView/MissionItemEditor.qml | 1 - src/PlanView/PlanView.qml | 4 ---- 3 files changed, 7 deletions(-) diff --git a/src/FlightMap/FlightMap.qml b/src/FlightMap/FlightMap.qml index 1b2a4c94ee..75dfc74a0c 100644 --- a/src/FlightMap/FlightMap.qml +++ b/src/FlightMap/FlightMap.qml @@ -76,8 +76,6 @@ Map { } } - ExclusiveGroup { id: mapTypeGroup } - // Center map to gcs location onGcsPositionChanged: { if (gcsPosition.isValid && allowGCSLocationCenter && !firstGCSPositionReceived && !firstVehiclePositionReceived) { diff --git a/src/PlanView/MissionItemEditor.qml b/src/PlanView/MissionItemEditor.qml index d798b4f711..d1efda9de9 100644 --- a/src/PlanView/MissionItemEditor.qml +++ b/src/PlanView/MissionItemEditor.qml @@ -23,7 +23,6 @@ Rectangle { property var masterController property var missionItem ///< MissionItem associated with this editor property bool readOnly ///< true: read only view, false: full editing view - property var rootQgcView signal clicked signal remove diff --git a/src/PlanView/PlanView.qml b/src/PlanView/PlanView.qml index f5a3e030ee..068cbb71f2 100644 --- a/src/PlanView/PlanView.qml +++ b/src/PlanView/PlanView.qml @@ -31,7 +31,6 @@ import QGroundControl.Airmap 1.0 /// Mission Editor Item { - id: _root property bool planControlColapsed: false @@ -440,8 +439,6 @@ Item { onCenterChanged: updateAirspace(false) MouseArea { - //-- It's a whole lot faster to just fill parent and deal with top offset below - // than computing the coordinate offset. anchors.fill: parent onClicked: { // Take focus to close any previous editing @@ -807,7 +804,6 @@ Item { missionItem: object width: parent.width readOnly: false - rootQgcView: _root onClicked: _missionController.setCurrentPlanViewIndex(object.sequenceNumber, false) onRemove: { var removeIndex = index -- GitLab