Commit ae99581e authored by Don Gagne's avatar Don Gagne

Remove unused code

parent d27a4cc8
...@@ -72,14 +72,13 @@ QGCView { ...@@ -72,14 +72,13 @@ QGCView {
property real _heading: _activeVehicle ? _activeVehicle.heading.value : _defaultHeading property real _heading: _activeVehicle ? _activeVehicle.heading.value : _defaultHeading
property Fact _emptyFact: Fact { } property Fact _emptyFact: Fact { }
property Fact _groundSpeedFact: _activeVehicle ? _activeVehicle.groundSpeed : _emptyFact property Fact _groundSpeedFact: _activeVehicle ? _activeVehicle.groundSpeed : _emptyFact
property Fact _airSpeedFact: _activeVehicle ? _activeVehicle.airSpeed : _emptyFact property Fact _airSpeedFact: _activeVehicle ? _activeVehicle.airSpeed : _emptyFact
property Fact _altitudeAMSLFact: _activeVehicle ? _activeVehicle.altitudeAMSL : _emptyFact
property bool activeVehicleJoystickEnabled: _activeVehicle ? _activeVehicle.joystickEnabled : false property bool activeVehicleJoystickEnabled: _activeVehicle ? _activeVehicle.joystickEnabled : false
property var _savedZoomLevel: 0 property real _savedZoomLevel: 0
property real pipSize: mainWindow.width * 0.2 property real pipSize: mainWindow.width * 0.2
......
...@@ -101,7 +101,6 @@ Item { ...@@ -101,7 +101,6 @@ Item {
heading: _heading heading: _heading
rollAngle: _roll rollAngle: _roll
pitchAngle: _pitch pitchAngle: _pitch
altitudeFact: _altitudeAMSLFact
groundSpeedFact: _groundSpeedFact groundSpeedFact: _groundSpeedFact
airSpeedFact: _airSpeedFact airSpeedFact: _airSpeedFact
isSatellite: _isSatellite isSatellite: _isSatellite
...@@ -121,7 +120,6 @@ Item { ...@@ -121,7 +120,6 @@ Item {
heading: _heading heading: _heading
rollAngle: _roll rollAngle: _roll
pitchAngle: _pitch pitchAngle: _pitch
altitudeFact: _altitudeAMSLFact
groundSpeedFact: _groundSpeedFact groundSpeedFact: _groundSpeedFact
airSpeedFact: _airSpeedFact airSpeedFact: _airSpeedFact
isSatellite: _isSatellite isSatellite: _isSatellite
...@@ -137,9 +135,6 @@ Item { ...@@ -137,9 +135,6 @@ Item {
textColor: _isSatellite ? "white" : "black" textColor: _isSatellite ? "white" : "black"
visible: QGroundControl.virtualTabletJoystick visible: QGroundControl.virtualTabletJoystick
maxHeight: multiTouchItem.y - y maxHeight: multiTouchItem.y - y
Component.onCompleted: console.log(y)
onHeightChanged: console.log(y, height, multiTouchItem.y)
} }
//-- Vertical Tool Buttons //-- Vertical Tool Buttons
......
...@@ -53,7 +53,6 @@ Rectangle { ...@@ -53,7 +53,6 @@ Rectangle {
property Fact _emptyFact: Fact { } property Fact _emptyFact: Fact { }
property Fact groundSpeedFact: _emptyFact property Fact groundSpeedFact: _emptyFact
property Fact airSpeedFact: _emptyFact property Fact airSpeedFact: _emptyFact
property Fact altitudeFact: _emptyFact
property real _defaultSize: ScreenTools.defaultFontPixelSize * (9) property real _defaultSize: ScreenTools.defaultFontPixelSize * (9)
......
...@@ -219,7 +219,6 @@ QGCView { ...@@ -219,7 +219,6 @@ QGCView {
QGCViewDialog { QGCViewDialog {
function accept() { function accept() {
hideDialog() hideDialog()
console.log(filenameTextField.text)
controller.saveMobileMissionToFile(filenameTextField.text) controller.saveMobileMissionToFile(filenameTextField.text)
} }
......
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