summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-hatire/thread.cpp')
-rw-r--r--tracker-hatire/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp
index 4ffbf095..d9de8643 100644
--- a/tracker-hatire/thread.cpp
+++ b/tracker-hatire/thread.cpp
@@ -132,10 +132,10 @@ void hatire_thread::run()
com_port.setFileName(HATIRE_DEBUG_LOGFILE);
com_port.open(QIODevice::ReadOnly);
- connect(&read_timer, &QTimer::timeout, this, &hatire_thread::on_serial_read, Qt::DirectConnection);
+ connect(&read_timer, &QTimer::timeout, this, &hatire_thread::on_serial_read);
read_timer.start(1);
#else
- connect(&com_port, &serial_t::readyRead, this, &hatire_thread::on_serial_read, Qt::DirectConnection);
+ connect(&com_port, &serial_t::readyRead, this, &hatire_thread::on_serial_read);
#endif
(void) exec();
}