summaryrefslogtreecommitdiff
path: root/printerclient.cpp
diff options
context:
space:
mode:
authorNikita Kostovsky <luntik2012@gmail.com>2025-01-12 17:57:45 +0100
committerNikita Kostovsky <luntik2012@gmail.com>2025-01-12 17:57:45 +0100
commit201d98f63131242bb8871ed0c4a3ae9ebd4ef030 (patch)
tree763a52710b3c8021c62b93535692b53de90265e5 /printerclient.cpp
parent4782e81c32392c78025aae1acb4b2ed1d1395908 (diff)
start refactoring. non-working commit
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)) {