diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2016-07-20 06:33:19 +0200 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2016-07-20 09:02:15 +0000 |
commit | 56ee21cdd66d72f7f858d72f731636e9903795dc (patch) | |
tree | 350a138047665fe6483a7e58e03fa7cddf645eff /src/plugins/canbus/peakcan/peakcanbackend.cpp | |
parent | 11cdcd8c7bc53b40f87c934f00b384536a5008d2 (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.cpp | 2 |
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; } |