Changeset - 73e87165649b
[Not reviewed]
portlist
0 1 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-09-04 18:13:00
hy@ozderya.net
get port name from data role
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
portcontrol.cpp
Show inline comments
 
@@ -229,7 +229,7 @@ void PortControl::togglePort()
 
            tbPortList.setCurrentIndex(portList.rowCount()-1);
 
        }
 

	
 
        serialPort->setPortName(portName);
 
        serialPort->setPortName(ui->cbPortList->currentData(PortNameRole).toString());
 

	
 
        // open port
 
        if (serialPort->open(QIODevice::ReadWrite))
0 comments (0 inline, 0 general)