summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-18 10:55:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-18 10:55:30 +0200
commitb8f77c9200695dfa593cf2c86aa26a6714495d84 (patch)
tree09c08636aed487758b1d03f444ece2476d1d8c7b /tracker-hatire
parent07447167a760f8dbaf4bf2da376d80ee48c80764 (diff)
tracker/hatire: remove explicit slot conntype
Qt will take care of its own.
Diffstat (limited to 'tracker-hatire')
-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();
}