diff --git a/src/API/QGCCorePlugin.cc b/src/API/QGCCorePlugin.cc index 7eb771fc0cd..43f68048601 100644 --- a/src/API/QGCCorePlugin.cc +++ b/src/API/QGCCorePlugin.cc @@ -106,7 +106,7 @@ const QVariantList &QGCCorePlugin::analyzePages() const return analyzeList; } -const QGCOptions *QGCCorePlugin::options() const +QGCOptions *QGCCorePlugin::options() { return _defaultOptions; } diff --git a/src/API/QGCCorePlugin.h b/src/API/QGCCorePlugin.h index db7196c4965..5b8a6e252c2 100644 --- a/src/API/QGCCorePlugin.h +++ b/src/API/QGCCorePlugin.h @@ -68,7 +68,7 @@ class QGCCorePlugin : public QObject /// Global options /// @return An instance of QGCOptions - virtual const QGCOptions *options() const; + virtual QGCOptions *options(); /// Allows the core plugin to override the visibility for a settings group /// @param name - SettingsGroup name