diff --git a/src/FlightDisplay/FlightDisplayView.qml b/src/FlightDisplay/FlightDisplayView.qml index f544ab5cc190bc95dbced8c23d71f0870273664f..764b89c09e1ce3ed88d9093ce6992cd1993c9a85 100644 --- a/src/FlightDisplay/FlightDisplayView.qml +++ b/src/FlightDisplay/FlightDisplayView.qml @@ -72,14 +72,13 @@ QGCView { property real _heading: _activeVehicle ? _activeVehicle.heading.value : _defaultHeading - property Fact _emptyFact: Fact { } - property Fact _groundSpeedFact: _activeVehicle ? _activeVehicle.groundSpeed : _emptyFact - property Fact _airSpeedFact: _activeVehicle ? _activeVehicle.airSpeed : _emptyFact - property Fact _altitudeAMSLFact: _activeVehicle ? _activeVehicle.altitudeAMSL : _emptyFact + property Fact _emptyFact: Fact { } + property Fact _groundSpeedFact: _activeVehicle ? _activeVehicle.groundSpeed : _emptyFact + property Fact _airSpeedFact: _activeVehicle ? _activeVehicle.airSpeed : _emptyFact property bool activeVehicleJoystickEnabled: _activeVehicle ? _activeVehicle.joystickEnabled : false - property var _savedZoomLevel: 0 + property real _savedZoomLevel: 0 property real pipSize: mainWindow.width * 0.2 diff --git a/src/FlightDisplay/FlightDisplayViewWidgets.qml b/src/FlightDisplay/FlightDisplayViewWidgets.qml index b348dc3973eeff2e4404dd92fc1b5448e1ef9424..ec68a65474afeab1dd517cc6f9f5df5256de9563 100644 --- a/src/FlightDisplay/FlightDisplayViewWidgets.qml +++ b/src/FlightDisplay/FlightDisplayViewWidgets.qml @@ -101,7 +101,6 @@ Item { heading: _heading rollAngle: _roll pitchAngle: _pitch - altitudeFact: _altitudeAMSLFact groundSpeedFact: _groundSpeedFact airSpeedFact: _airSpeedFact isSatellite: _isSatellite @@ -121,7 +120,6 @@ Item { heading: _heading rollAngle: _roll pitchAngle: _pitch - altitudeFact: _altitudeAMSLFact groundSpeedFact: _groundSpeedFact airSpeedFact: _airSpeedFact isSatellite: _isSatellite @@ -137,9 +135,6 @@ Item { textColor: _isSatellite ? "white" : "black" visible: QGroundControl.virtualTabletJoystick maxHeight: multiTouchItem.y - y - - Component.onCompleted: console.log(y) - onHeightChanged: console.log(y, height, multiTouchItem.y) } //-- Vertical Tool Buttons diff --git a/src/FlightMap/Widgets/QGCInstrumentWidget.qml b/src/FlightMap/Widgets/QGCInstrumentWidget.qml index c0dd98dded2cf9c39a7166d763cfde59ecd02be4..c9d15d9e85dbeb31a1a6b7af77da4631703b0fe9 100644 --- a/src/FlightMap/Widgets/QGCInstrumentWidget.qml +++ b/src/FlightMap/Widgets/QGCInstrumentWidget.qml @@ -53,7 +53,6 @@ Rectangle { property Fact _emptyFact: Fact { } property Fact groundSpeedFact: _emptyFact property Fact airSpeedFact: _emptyFact - property Fact altitudeFact: _emptyFact property real _defaultSize: ScreenTools.defaultFontPixelSize * (9) diff --git a/src/MissionEditor/MissionEditor.qml b/src/MissionEditor/MissionEditor.qml index 564b8dd20bf43f4421a2db5bec951d0d4f4440fa..cea33b4c4f5310cf2c0e85514f3758421327eaf4 100644 --- a/src/MissionEditor/MissionEditor.qml +++ b/src/MissionEditor/MissionEditor.qml @@ -219,7 +219,6 @@ QGCView { QGCViewDialog { function accept() { hideDialog() - console.log(filenameTextField.text) controller.saveMobileMissionToFile(filenameTextField.text) }