Unsupported by OS error handling
This commit is contained in:
parent
6cd2ac8d2e
commit
f38e1bf069
@ -682,6 +682,10 @@ void MainWindow::serialError(QSerialPort::SerialPortError error)
|
||||
errorMsg = "Disconnected";
|
||||
break;
|
||||
|
||||
case QSerialPort::UnsupportedOperationError:
|
||||
errorMsg = "Operation not supported.\nUnsupported baudrate?";
|
||||
break;
|
||||
|
||||
default:
|
||||
errorMsg = "Unknown error\nSomething went wrong";
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user