summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-07-29 15:55:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-07-29 15:55:09 +0200
commiteded65bbcabd8e2267ef3a1d7df467ab403b27e0 (patch)
treee8352bd3fdaa3ae582880945938d6eef21ffc480 /tracker-hatire/thread.cpp
parent2112db0a98a2cd14b25828a5bc84bddc423712bf (diff)
to rebasefeature/qt6
Diffstat (limited to 'tracker-hatire/thread.cpp')
-rw-r--r--tracker-hatire/thread.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp
index 4938e77f..994d573f 100644
--- a/tracker-hatire/thread.cpp
+++ b/tracker-hatire/thread.cpp
@@ -120,7 +120,7 @@ void hatire_thread::teardown_serial()
{
msg.append("\r\n");
msg.append("SEND '");
- msg.append(s.CmdStop);
+ msg.append(s.CmdStop->toLatin1());
msg.append("'\r\n");
}
emit serial_debug_info(msg);
@@ -241,13 +241,13 @@ void hatire_thread::serial_info_impl()
if (com_port.isOpen())
{
msg.append("\r\n");
- msg.append(com_port.portName());
+ msg.append(com_port.portName().toLatin1());
msg.append("\r\n");
msg.append("BAUDRATE :");
- msg.append(QString::number(com_port.baudRate()));
+ msg.append(QString::number(com_port.baudRate()).toLatin1());
msg.append("\r\n");
msg.append("DataBits :");
- msg.append(QString::number(com_port.dataBits()));
+ msg.append(QString::number(com_port.dataBits()).toLatin1());
msg.append("\r\n");
msg.append("Parity :");