mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-26 15:54:15 +01:00
GCS/uavobjectbrowser: remove options page for now
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@450 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
0b4edfc940
commit
ccb78ad33d
@ -132,10 +132,12 @@ void UAVGadgetInstanceManager::createOptionsPages()
|
|||||||
{
|
{
|
||||||
IUAVGadgetFactory *f = factory(config->classId());
|
IUAVGadgetFactory *f = factory(config->classId());
|
||||||
IOptionsPage *p = f->createOptionsPage(config);
|
IOptionsPage *p = f->createOptionsPage(config);
|
||||||
|
if (p) {
|
||||||
IOptionsPage *page = new UAVGadgetOptionsPageDecorator(p, config);
|
IOptionsPage *page = new UAVGadgetOptionsPageDecorator(p, config);
|
||||||
m_optionsPages.append(page);
|
m_optionsPages.append(page);
|
||||||
m_pm->addObject(page);
|
m_pm->addObject(page);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,6 +53,6 @@ IUAVGadgetConfiguration *UAVObjectBrowserFactory::createConfiguration(const QByt
|
|||||||
|
|
||||||
IOptionsPage *UAVObjectBrowserFactory::createOptionsPage(IUAVGadgetConfiguration *config)
|
IOptionsPage *UAVObjectBrowserFactory::createOptionsPage(IUAVGadgetConfiguration *config)
|
||||||
{
|
{
|
||||||
return new UAVObjectBrowserOptionsPage(qobject_cast<UAVObjectBrowserConfiguration*>(config));
|
return 0;// new UAVObjectBrowserOptionsPage(qobject_cast<UAVObjectBrowserConfiguration*>(config));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,14 +30,7 @@
|
|||||||
#include "uavobjects/uavobjectmanager.h"
|
#include "uavobjects/uavobjectmanager.h"
|
||||||
#include "uavobjects/uavdataobject.h"
|
#include "uavobjects/uavdataobject.h"
|
||||||
#include "uavobjects/uavmetaobject.h"
|
#include "uavobjects/uavmetaobject.h"
|
||||||
#include "uavobjects/uavobjectfieldenum.h"
|
#include "uavobjects/uavobjectfields.h"
|
||||||
#include "uavobjects/uavobjectfielduint8.h"
|
|
||||||
#include "uavobjects/uavobjectfielduint16.h"
|
|
||||||
#include "uavobjects/uavobjectfielduint32.h"
|
|
||||||
#include "uavobjects/uavobjectfieldint8.h"
|
|
||||||
#include "uavobjects/uavobjectfieldint16.h"
|
|
||||||
#include "uavobjects/uavobjectfieldint32.h"
|
|
||||||
#include "uavobjects/uavobjectfieldfloat.h"
|
|
||||||
#include "extensionsystem/pluginmanager.h"
|
#include "extensionsystem/pluginmanager.h"
|
||||||
#include <QtGui/QColor>
|
#include <QtGui/QColor>
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user