From 56ee21cdd66d72f7f858d72f731636e9903795dc Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Wed, 20 Jul 2016 06:33:19 +0200 Subject: PeakCAN: Remove unneeded emit QCanBusDevice::setError() is no SIGNAL, but a protected member function. Change-Id: I10e83d189d3df93504b759729d0c4fc5caa682b0 Reviewed-by: Alex Blasche Reviewed-by: Denis Shienkov --- src/plugins/canbus/peakcan/peakcanbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/canbus/peakcan/peakcanbackend.cpp') 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; } -- cgit v1.2.3