mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +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,9 +132,11 @@ void UAVGadgetInstanceManager::createOptionsPages()
|
||||
{
|
||||
IUAVGadgetFactory *f = factory(config->classId());
|
||||
IOptionsPage *p = f->createOptionsPage(config);
|
||||
IOptionsPage *page = new UAVGadgetOptionsPageDecorator(p, config);
|
||||
m_optionsPages.append(page);
|
||||
m_pm->addObject(page);
|
||||
if (p) {
|
||||
IOptionsPage *page = new UAVGadgetOptionsPageDecorator(p, config);
|
||||
m_optionsPages.append(page);
|
||||
m_pm->addObject(page);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -53,6 +53,6 @@ IUAVGadgetConfiguration *UAVObjectBrowserFactory::createConfiguration(const QByt
|
||||
|
||||
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/uavdataobject.h"
|
||||
#include "uavobjects/uavmetaobject.h"
|
||||
#include "uavobjects/uavobjectfieldenum.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 "uavobjects/uavobjectfields.h"
|
||||
#include "extensionsystem/pluginmanager.h"
|
||||
#include <QtGui/QColor>
|
||||
#include <QtCore/QDebug>
|
||||
|
Loading…
Reference in New Issue
Block a user