diff --git a/ground/gcs/src/plugins/serialconnection/serialplugin.cpp b/ground/gcs/src/plugins/serialconnection/serialplugin.cpp index dcaed9919..3bc11cc3f 100644 --- a/ground/gcs/src/plugins/serialconnection/serialplugin.cpp +++ b/ground/gcs/src/plugins/serialconnection/serialplugin.cpp @@ -139,11 +139,16 @@ QList SerialConnection::availableDevices() // sort the list by port number (nice idea from PT_Dreamer :)) qSort(ports.begin(), ports.end(), sortPorts); + foreach(QSerialPortInfo port, ports) { device d; - d.displayName = port.portName(); d.name = port.portName(); + d.displayName = port.portName(); + if (!port.description().isEmpty()) { + d.displayName += " - " + port.description(); + } + list.append(d); } }