Commit 282aae6c authored by Lorenz Meier's avatar Lorenz Meier

Remove unused code

parent fd62fd8a
......@@ -95,19 +95,6 @@ void QGCMAVLinkInspector::rebuildComponentList()
components.clear();
ui->componentComboBox->addItem(tr("All"), 0);
// // Fill
// UASInterface* uas = UASManager::instance()->getUASForId(selectedSystemID);
// if (uas)
// {
// QMap<int, QString> components = uas->getComponents();
// foreach (int id, components.keys())
// {
// QString name = components.value(id);
// ui->componentComboBox->addItem(name, id);
// }
// }
}
void QGCMAVLinkInspector::addComponent(int uas, int component, const QString& name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment