summaryrefslogtreecommitdiffstats
path: root/src/plugins/canbus/peakcan/peakcanbackend.cpp
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2016-07-20 06:33:19 +0200
committerAndré Hartmann <aha_1980@gmx.de>2016-07-20 09:02:15 +0000
commit56ee21cdd66d72f7f858d72f731636e9903795dc (patch)
tree350a138047665fe6483a7e58e03fa7cddf645eff /src/plugins/canbus/peakcan/peakcanbackend.cpp
parent11cdcd8c7bc53b40f87c934f00b384536a5008d2 (diff)
PeakCAN: Remove unneeded emit
QCanBusDevice::setError() is no SIGNAL, but a protected member function. Change-Id: I10e83d189d3df93504b759729d0c4fc5caa682b0 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/plugins/canbus/peakcan/peakcanbackend.cpp')
-rw-r--r--src/plugins/canbus/peakcan/peakcanbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/canbus/peakcan/peakcanbackend.cpp b/src/plugins/canbus/peakcan/peakcanbackend.cpp
index f717111..7e954c2 100644
--- a/src/plugins/canbus/peakcan/peakcanbackend.cpp
+++ b/src/plugins/canbus/peakcan/peakcanbackend.cpp
@@ -236,7 +236,7 @@ void PeakCanBackendPrivate::close()
const TPCANStatus st = ::CAN_Uninitialize(channelIndex);
if (st != PCAN_ERROR_OK)
- emit q->setError(systemErrorString(st), QCanBusDevice::ConnectionError);
+ q->setError(systemErrorString(st), QCanBusDevice::ConnectionError);
isOpen = false;
}