mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
Ground: Supress a few warnings. A drop in a bucket...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1704 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
7a8424e98e
commit
a56e757003
@ -62,9 +62,9 @@ public:
|
|||||||
|
|
||||||
virtual IUAVGadgetConfiguration *activeConfiguration() { return 0; }
|
virtual IUAVGadgetConfiguration *activeConfiguration() { return 0; }
|
||||||
virtual void loadConfiguration(IUAVGadgetConfiguration*) { }
|
virtual void loadConfiguration(IUAVGadgetConfiguration*) { }
|
||||||
virtual void saveState(QSettings* qSettings) { }
|
virtual void saveState(QSettings* /*qSettings*/) { }
|
||||||
virtual void restoreState(QByteArray) { }
|
virtual void restoreState(QByteArray) { }
|
||||||
virtual void restoreState(QSettings* qSettings) { }
|
virtual void restoreState(QSettings* /*qSettings*/) { }
|
||||||
public slots:
|
public slots:
|
||||||
virtual void configurationChanged(IUAVGadgetConfiguration* ) { }
|
virtual void configurationChanged(IUAVGadgetConfiguration* ) { }
|
||||||
virtual void configurationAdded(IUAVGadgetConfiguration*) { }
|
virtual void configurationAdded(IUAVGadgetConfiguration*) { }
|
||||||
|
@ -55,7 +55,7 @@ public:
|
|||||||
|
|
||||||
virtual IUAVGadget *createGadget(QWidget *parent) = 0;
|
virtual IUAVGadget *createGadget(QWidget *parent) = 0;
|
||||||
virtual IUAVGadgetConfiguration *createConfiguration(const QByteArray &/*state*/) { return 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; }
|
virtual IOptionsPage *createOptionsPage(IUAVGadgetConfiguration */*config*/) { return 0; }
|
||||||
QString classId() const { return m_classId; }
|
QString classId() const { return m_classId; }
|
||||||
QString name() const { return m_name; }
|
QString name() const { return m_name; }
|
||||||
|
@ -157,6 +157,7 @@ UAVGadgetManagerPrivate::UAVGadgetManagerPrivate(ICore *core, QWidget *parent) :
|
|||||||
m_core(core),
|
m_core(core),
|
||||||
m_coreListener(0)
|
m_coreListener(0)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
UAVGadgetManagerPrivate::~UAVGadgetManagerPrivate()
|
UAVGadgetManagerPrivate::~UAVGadgetManagerPrivate()
|
||||||
|
@ -523,6 +523,8 @@ void SplitterOrView::split(Qt::Orientation orientation)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SplitterOrView::onSplitterMoved( int pos, int index ) {
|
void SplitterOrView::onSplitterMoved( int pos, int index ) {
|
||||||
|
Q_UNUSED(pos);
|
||||||
|
Q_UNUSED(index);
|
||||||
// Update when the splitter is actually moved.
|
// Update when the splitter is actually moved.
|
||||||
m_sizes = m_splitter->sizes();
|
m_sizes = m_splitter->sizes();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user