mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Constructor was called directly, GCC 4.6.1 on X64 Linux was not a fan
This fixes the build
This commit is contained in:
parent
d79eea0468
commit
f6303b80a5
@ -50,8 +50,8 @@ public:
|
|||||||
QList<QVariant> values;
|
QList<QVariant> values;
|
||||||
} LimitStruct;
|
} LimitStruct;
|
||||||
|
|
||||||
UAVObjectField(const QString& name, const QString& units, FieldType type, quint32 numElements, const QStringList& options,const QString& limits=QString::QString());
|
UAVObjectField(const QString& name, const QString& units, FieldType type, quint32 numElements, const QStringList& options,const QString& limits=QString());
|
||||||
UAVObjectField(const QString& name, const QString& units, FieldType type, const QStringList& elementNames, const QStringList& options,const QString& limits=QString::QString());
|
UAVObjectField(const QString& name, const QString& units, FieldType type, const QStringList& elementNames, const QStringList& options,const QString& limits=QString());
|
||||||
void initialize(quint8* data, quint32 dataOffset, UAVObject* obj);
|
void initialize(quint8* data, quint32 dataOffset, UAVObject* obj);
|
||||||
UAVObject* getObject();
|
UAVObject* getObject();
|
||||||
FieldType getType();
|
FieldType getType();
|
||||||
|
@ -295,7 +295,7 @@ void ConfigTaskWidget::updateObjectsFromWidgets()
|
|||||||
*/
|
*/
|
||||||
void ConfigTaskWidget::helpButtonPressed()
|
void ConfigTaskWidget::helpButtonPressed()
|
||||||
{
|
{
|
||||||
QString url=helpButtonList.value((QPushButton*)sender(),QString::QString());
|
QString url=helpButtonList.value((QPushButton*)sender(),QString());
|
||||||
if(!url.isEmpty())
|
if(!url.isEmpty())
|
||||||
QDesktopServices::openUrl( QUrl(url, QUrl::StrictMode) );
|
QDesktopServices::openUrl( QUrl(url, QUrl::StrictMode) );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user