mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 14:48:46 -05:00
Use full device path for serial port names
Except on Windows where the obscure \\.\ device root is removed because Windows users will not be used to it. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4978 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
2bd90b76f8
commit
190e58b3bf
@ -2381,7 +2381,9 @@ void Configuration::impl::fill_port_combo_box (QComboBox * cb)
|
||||
{
|
||||
if (!p.isBusy ())
|
||||
{
|
||||
cb->addItem (p.portName ());
|
||||
// remove possibly confusing Windows device path (OK because
|
||||
// it gets added back by Hamlib)
|
||||
cb->addItem (p.systemLocation ().remove (QRegularExpression {R"(^\\\\\.\\)"}));
|
||||
}
|
||||
}
|
||||
cb->addItem("USB");
|
||||
|
Loading…
Reference in New Issue
Block a user