diff --git a/src/comm/LinkManager.cc b/src/comm/LinkManager.cc index 1215516..864ef8c 100644 --- a/src/comm/LinkManager.cc +++ b/src/comm/LinkManager.cc @@ -713,8 +713,8 @@ void LinkManager::_updateSerialPorts() _commPortList.clear(); _commPortDisplayList.clear(); #ifndef NO_SERIAL_LINK - QList portList = QSerialPortInfo::availablePorts(); - for (const QSerialPortInfo &info: portList) + QList portList = QGCSerialPortInfo::availablePorts(); + for (const QGCSerialPortInfo &info: portList) { QString port = info.systemLocation().trimmed(); _commPortList += port;