summaryrefslogtreecommitdiffstats
path: root/src/plugins/canbus/socketcan/socketcanbackend.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-09-07 14:57:26 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-09-07 13:15:24 +0000
commitc53c4b7f19ebe63e1c953a5c00338ebbc1b693f6 (patch)
tree5c2dd5901ce85bfde826694bb1e57b40ee29294a /src/plugins/canbus/socketcan/socketcanbackend.cpp
parent994698fcecd92376d0412a96d44998d8be145e63 (diff)
Emit framesWritten() when using socketcan
For now the socketcan backend remains synchronously. There is no need to do it any other way. This means that enqueueOutgoingFrames() et al are not required. Change-Id: Ia098b893aab173e23ae362f844c4e069862f399b Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/plugins/canbus/socketcan/socketcanbackend.cpp')
-rw-r--r--src/plugins/canbus/socketcan/socketcanbackend.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/canbus/socketcan/socketcanbackend.cpp b/src/plugins/canbus/socketcan/socketcanbackend.cpp
index 7e498e8..af296f3 100644
--- a/src/plugins/canbus/socketcan/socketcanbackend.cpp
+++ b/src/plugins/canbus/socketcan/socketcanbackend.cpp
@@ -331,6 +331,8 @@ bool SocketCanBackend::writeFrame(const QCanBusFrame &newData)
return false;
}
+ emit framesWritten(1);
+
return true;
}