1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00

OP-1170 Got rid of all compiler warnings in pathactioneditor plugin.

This commit is contained in:
m_thread 2014-02-26 17:53:22 +01:00
parent a79efd7353
commit 4b4f9bd108
2 changed files with 2 additions and 0 deletions

View File

@ -423,6 +423,7 @@ void PathActionEditorTreeModel::newInstance(UAVObject *obj)
void PathActionEditorTreeModel::objUpdated(UAVObject *obj) void PathActionEditorTreeModel::objUpdated(UAVObject *obj)
{ {
Q_UNUSED(obj);
quint16 index = m_objManager->getObject("WaypointActive")->getField("Index")->getValue().toInt(); quint16 index = m_objManager->getObject("WaypointActive")->getField("Index")->getValue().toInt();
quint16 action; quint16 action;

View File

@ -108,6 +108,7 @@ void TreeItem::apply()
void TreeItem::setHighlight(bool highlight) void TreeItem::setHighlight(bool highlight)
{ {
Q_UNUSED(highlight)
// m_highlight = highlight; // m_highlight = highlight;
m_changed = false; m_changed = false;
} }