Browse Source

Remove unused code

QGC4.4
Lorenz Meier 11 years ago
parent
commit
282aae6ccf
  1. 13
      src/ui/QGCMAVLinkInspector.cc

13
src/ui/QGCMAVLinkInspector.cc

@ -95,19 +95,6 @@ void QGCMAVLinkInspector::rebuildComponentList() @@ -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)

Loading…
Cancel
Save