Skip to content

Commit

Permalink
Remove const
Browse files Browse the repository at this point in the history
Usage of custom map items may vary. They may need to modify themselves.
  • Loading branch information
DonLakeFlyer committed Dec 13, 2024
1 parent bfb1793 commit 0324cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/QGCCorePlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class QGCCorePlugin : public QObject
virtual bool mavlinkMessage(Vehicle *vehicle, LinkInterface *link, const mavlink_message_t &message) const { Q_UNUSED(vehicle); Q_UNUSED(link); Q_UNUSED(message); return true; }

/// Allows custom builds to add custom items to the FlightMap. Objects put into QmlObjectListModel should derive from QmlComponentInfo and set the url property.
virtual const QmlObjectListModel *customMapItems() const;
virtual const QmlObjectListModel *customMapItems();

/// Allows custom builds to add custom items to the plan file before the document is created.
virtual void preSaveToJson(PlanMasterController *pController, QJsonObject &json) const { Q_UNUSED(pController); Q_UNUSED(json); }
Expand Down

0 comments on commit 0324cf1

Please sign in to comment.