summaryrefslogtreecommitdiff
path: root/printerclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'printerclient.cpp')
-rw-r--r--printerclient.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/printerclient.cpp b/printerclient.cpp
index ac269b3..4fed38f 100644
--- a/printerclient.cpp
+++ b/printerclient.cpp
@@ -19,8 +19,7 @@ QString getFirstTtyUSB()
}
PrinterClient::PrinterClient(QObject* parent)
- : QObject{parent}
- // , m_serialPort{new QSerialPort{"/dev/ttyUSB0", this}}
+ : QObject{parent} // , m_serialPort{new QSerialPort{"/dev/ttyUSB0", this}}
, m_serialPort{new QSerialPort{getFirstTtyUSB(), this}}
{
if (!m_serialPort->setBaudRate(QSerialPort::Baud115200)) {