Changeset - b92cff56c8ed
[Not reviewed]
default
0 1 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-05-28 10:27:56
hy@ozderya.net
fix duplicate error message during -failed- port opening
1 file changed with 0 insertions and 4 deletions:
0 comments (0 inline, 0 general)
portcontrol.cpp
Show inline comments
 
@@ -225,10 +225,6 @@ void PortControl::togglePort()
 
            qDebug() << "Port opened, " << serialPort->portName();
 
            emit portToggled(true);
 
        }
 
        else
 
        {
 
            qDebug() << "Port open error: " << serialPort->error();
 
        }
 
    }
 
    ui->pbOpenPort->setChecked(serialPort->isOpen());
 
}
0 comments (0 inline, 0 general)