From 201d98f63131242bb8871ed0c4a3ae9ebd4ef030 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sun, 12 Jan 2025 17:57:45 +0100 Subject: start refactoring. non-working commit --- printerclient.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'printerclient.cpp') 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)) { -- cgit v1.2.3-70-g09d2