Skip to content
Commit 5796b561 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora
Browse files

Simplify the code that reads from the socket line by line

Since sockets are buffered `QIODevices` we can use `canReadLine()` to check
if we have a full line, instead of using a custom `SocketLineReader` class
(and the copy-pasted `DeviceLineReader` in the Bluetooth backend). 

We can also loop through all the lines instead of queuing calls to `dataReceived`.

And we don't need transactions.
parent 0a3ca9e9
Pipeline #434384 passed with stage
in 2 minutes and 47 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment