From be57c7f3fd44e8cf4ab8399ec46ac69166d251a8 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 17 Dec 2024 10:18:34 -0800 Subject: [PATCH] Remove const --- src/API/QGCCorePlugin.cc | 2 +- src/API/QGCCorePlugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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