diff --git a/ground/src/plugins/coreplugin/iuavgadget.h b/ground/src/plugins/coreplugin/iuavgadget.h index e9c7bc941..404c53bfd 100644 --- a/ground/src/plugins/coreplugin/iuavgadget.h +++ b/ground/src/plugins/coreplugin/iuavgadget.h @@ -62,9 +62,9 @@ public: virtual IUAVGadgetConfiguration *activeConfiguration() { return 0; } virtual void loadConfiguration(IUAVGadgetConfiguration*) { } - virtual void saveState(QSettings* qSettings) { } + virtual void saveState(QSettings* /*qSettings*/) { } virtual void restoreState(QByteArray) { } - virtual void restoreState(QSettings* qSettings) { } + virtual void restoreState(QSettings* /*qSettings*/) { } public slots: virtual void configurationChanged(IUAVGadgetConfiguration* ) { } virtual void configurationAdded(IUAVGadgetConfiguration*) { } diff --git a/ground/src/plugins/coreplugin/iuavgadgetfactory.h b/ground/src/plugins/coreplugin/iuavgadgetfactory.h index f62f19fbb..692d99094 100644 --- a/ground/src/plugins/coreplugin/iuavgadgetfactory.h +++ b/ground/src/plugins/coreplugin/iuavgadgetfactory.h @@ -55,7 +55,7 @@ public: virtual IUAVGadget *createGadget(QWidget *parent) = 0; virtual IUAVGadgetConfiguration *createConfiguration(const QByteArray &/*state*/) { return 0; } - virtual IUAVGadgetConfiguration *createConfiguration(QSettings* qSettings) { return 0; } + virtual IUAVGadgetConfiguration *createConfiguration(QSettings* /*qSettings*/) { return 0; } virtual IOptionsPage *createOptionsPage(IUAVGadgetConfiguration */*config*/) { return 0; } QString classId() const { return m_classId; } QString name() const { return m_name; } diff --git a/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetmanager.cpp b/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetmanager.cpp index d47e692b6..fd51e7e67 100644 --- a/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetmanager.cpp +++ b/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetmanager.cpp @@ -157,6 +157,7 @@ UAVGadgetManagerPrivate::UAVGadgetManagerPrivate(ICore *core, QWidget *parent) : m_core(core), m_coreListener(0) { + Q_UNUSED(parent); } UAVGadgetManagerPrivate::~UAVGadgetManagerPrivate() diff --git a/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetview.cpp b/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetview.cpp index f222200dd..fdee3f34a 100644 --- a/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetview.cpp +++ b/ground/src/plugins/coreplugin/uavgadgetmanager/uavgadgetview.cpp @@ -523,6 +523,8 @@ void SplitterOrView::split(Qt::Orientation orientation) } void SplitterOrView::onSplitterMoved( int pos, int index ) { + Q_UNUSED(pos); + Q_UNUSED(index); // Update when the splitter is actually moved. m_sizes = m_splitter->sizes(); }