1
0
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:
peabody124 2010-09-21 16:37:59 +00:00 committed by peabody124
parent 7a8424e98e
commit a56e757003
4 changed files with 6 additions and 3 deletions

View File

@ -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*) { }

View File

@ -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; }

View File

@ -157,6 +157,7 @@ UAVGadgetManagerPrivate::UAVGadgetManagerPrivate(ICore *core, QWidget *parent) :
m_core(core),
m_coreListener(0)
{
Q_UNUSED(parent);
}
UAVGadgetManagerPrivate::~UAVGadgetManagerPrivate()

View File

@ -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();
}