From b8f77c9200695dfa593cf2c86aa26a6714495d84 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Jun 2016 10:55:30 +0200 Subject: tracker/hatire: remove explicit slot conntype Qt will take care of its own. --- tracker-hatire/thread.cpp | 4 ++-- 1 file 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(); } -- cgit v1.2.3