Commit 4b8317d5 authored by Gus Grubba's avatar Gus Grubba

Remove unused stuff

parent c2a53372
...@@ -76,8 +76,6 @@ Map { ...@@ -76,8 +76,6 @@ Map {
} }
} }
ExclusiveGroup { id: mapTypeGroup }
// Center map to gcs location // Center map to gcs location
onGcsPositionChanged: { onGcsPositionChanged: {
if (gcsPosition.isValid && allowGCSLocationCenter && !firstGCSPositionReceived && !firstVehiclePositionReceived) { if (gcsPosition.isValid && allowGCSLocationCenter && !firstGCSPositionReceived && !firstVehiclePositionReceived) {
......
...@@ -23,7 +23,6 @@ Rectangle { ...@@ -23,7 +23,6 @@ Rectangle {
property var masterController property var masterController
property var missionItem ///< MissionItem associated with this editor property var missionItem ///< MissionItem associated with this editor
property bool readOnly ///< true: read only view, false: full editing view property bool readOnly ///< true: read only view, false: full editing view
property var rootQgcView
signal clicked signal clicked
signal remove signal remove
......
...@@ -31,7 +31,6 @@ import QGroundControl.Airmap 1.0 ...@@ -31,7 +31,6 @@ import QGroundControl.Airmap 1.0
/// Mission Editor /// Mission Editor
Item { Item {
id: _root
property bool planControlColapsed: false property bool planControlColapsed: false
...@@ -440,8 +439,6 @@ Item { ...@@ -440,8 +439,6 @@ Item {
onCenterChanged: updateAirspace(false) onCenterChanged: updateAirspace(false)
MouseArea { 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 anchors.fill: parent
onClicked: { onClicked: {
// Take focus to close any previous editing // Take focus to close any previous editing
...@@ -807,7 +804,6 @@ Item { ...@@ -807,7 +804,6 @@ Item {
missionItem: object missionItem: object
width: parent.width width: parent.width
readOnly: false readOnly: false
rootQgcView: _root
onClicked: _missionController.setCurrentPlanViewIndex(object.sequenceNumber, false) onClicked: _missionController.setCurrentPlanViewIndex(object.sequenceNumber, false)
onRemove: { onRemove: {
var removeIndex = index var removeIndex = index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment