diff --git a/sender.cpp b/sender.cpp index a09a68b..641f5c8 100644 --- a/sender.cpp +++ b/sender.cpp @@ -126,7 +126,7 @@ void Sender::openPort(QSerialPortInfo i) printer->setDataTerminalReady(dtr); if(!printer->setBaudRate(baudrate)) emit baudrateSetFailed(baudrate); - printer->setFlowControl(flowcontrol); + printer->setFlowControl(static_cast(flowcontrol)); } readyReceive = true; diff --git a/settingswindow.ui b/settingswindow.ui index bffadbe..0fdc7d6 100644 --- a/settingswindow.ui +++ b/settingswindow.ui @@ -6,8 +6,8 @@ 0 0 - 478 - 285 + 483 + 341 @@ -24,7 +24,7 @@ Internal - + false @@ -99,7 +99,7 @@ - + Lock controls when printing @@ -113,14 +113,14 @@ - + Check SD printing status - + true @@ -152,13 +152,23 @@ - + DTR + + + + Flow control + + + + + +