diff --git a/src/Vehicle/Vehicle.cc b/src/Vehicle/Vehicle.cc index a0d36052156de73febf2cb4e5623db465d4f86c5..da217cd330b65302c1784950266eb468ed5dba65 100644 --- a/src/Vehicle/Vehicle.cc +++ b/src/Vehicle/Vehicle.cc @@ -923,11 +923,6 @@ void Vehicle::setActive(bool active) _startJoystick(_active); } -QmlObjectListModel* Vehicle::missionItemsModel(void) -{ - return missionManager()->missionItems(); -} - bool Vehicle::homePositionAvailable(void) { return _homePositionAvailable; diff --git a/src/Vehicle/Vehicle.h b/src/Vehicle/Vehicle.h index 49aef16b6c5540e2df7ed388f60227a681790f25..e2722cc52a702160a8808d533869d48ff8b8fce3 100644 --- a/src/Vehicle/Vehicle.h +++ b/src/Vehicle/Vehicle.h @@ -160,7 +160,6 @@ public: Q_PROPERTY(AutoPilotPlugin* autopilot MEMBER _autopilotPlugin CONSTANT) Q_PROPERTY(QGeoCoordinate coordinate READ coordinate NOTIFY coordinateChanged) Q_PROPERTY(bool coordinateValid READ coordinateValid NOTIFY coordinateValidChanged) - Q_PROPERTY(MissionManager* missionManager MEMBER _missionManager CONSTANT) Q_PROPERTY(bool homePositionAvailable READ homePositionAvailable NOTIFY homePositionAvailableChanged) Q_PROPERTY(QGeoCoordinate homePosition READ homePosition NOTIFY homePositionChanged) Q_PROPERTY(bool armed READ armed WRITE setArmed NOTIFY armedChanged) @@ -173,7 +172,6 @@ public: Q_PROPERTY(float latitude READ latitude NOTIFY coordinateChanged) Q_PROPERTY(float longitude READ longitude NOTIFY coordinateChanged) Q_PROPERTY(QString currentState READ currentState NOTIFY currentStateChanged) - Q_PROPERTY(QmlObjectListModel* missionItems READ missionItemsModel CONSTANT) Q_PROPERTY(bool messageTypeNone READ messageTypeNone NOTIFY messageTypeChanged) Q_PROPERTY(bool messageTypeNormal READ messageTypeNormal NOTIFY messageTypeChanged) Q_PROPERTY(bool messageTypeWarning READ messageTypeWarning NOTIFY messageTypeChanged) @@ -237,7 +235,6 @@ public: QGeoCoordinate coordinate(void) { return _coordinate; } bool coordinateValid(void) { return _coordinateValid; } void _setCoordinateValid(bool coordinateValid); - QmlObjectListModel* missionItemsModel(void); typedef enum { JoystickModeRC, ///< Joystick emulates an RC Transmitter