mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1740 UAVO_GetSetFunctionsTakeEnum - getting started
This commit is contained in:
parent
2a45f58fea
commit
8e236c9954
@ -25,6 +25,8 @@
|
||||
*/
|
||||
|
||||
#include "uavobjectparser.h"
|
||||
#include <QDomDocument>
|
||||
#include <QDomElement>
|
||||
#include <QDebug>
|
||||
/**
|
||||
* Constructor
|
||||
@ -213,9 +215,6 @@ QString UAVObjectParser::parseXML(QString & xml, QString & filename)
|
||||
// Sort all fields according to size
|
||||
qStableSort(info->fields.begin(), info->fields.end(), fieldTypeLessThan);
|
||||
|
||||
// Sort all fields according to size
|
||||
qStableSort(info->fields.begin(), info->fields.end(), fieldTypeLessThan);
|
||||
|
||||
// Make sure that required elements were found
|
||||
if (!fieldFound) {
|
||||
return QString("Object::field element is missing");
|
||||
|
@ -30,8 +30,6 @@
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QList>
|
||||
#include <QDomDocument>
|
||||
#include <QDomElement>
|
||||
#include <QDomNode>
|
||||
#include <QByteArray>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user