Commit 793e78d0 authored by Don Gagne's avatar Don Gagne

remove bad change

parent 0198ce3e
...@@ -148,7 +148,6 @@ void SettingsDialog::fillPortsParameters() ...@@ -148,7 +148,6 @@ void SettingsDialog::fillPortsParameters()
void SettingsDialog::fillPortsInfo() void SettingsDialog::fillPortsInfo()
{ {
ui->serialPortInfoListBox->clear(); ui->serialPortInfoListBox->clear();
QList<QSerialPortInfo> list = QSerialPortInfo::availablePorts();
foreach (const QSerialPortInfo &info, QSerialPortInfo::availablePorts()) { foreach (const QSerialPortInfo &info, QSerialPortInfo::availablePorts()) {
QStringList list; QStringList list;
list << info.portName() list << info.portName()
......
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