diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-20 16:14:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-23 17:37:53 +0200 |
commit | 4a71e5b06506af6e3ab7a7715705e76b6d6e9bb7 (patch) | |
tree | 8b9a14b9cabd308d2a5a166e654454245c895d5f | |
parent | 5c0367fd637606043db41f21444d584c93bee9f0 (diff) | |
download | sink-4a71e5b06506af6e3ab7a7715705e76b6d6e9bb7.tar.gz sink-4a71e5b06506af6e3ab7a7715705e76b6d6e9bb7.zip |
Removed one extra codepath
That was an optimization anyways
-rw-r--r-- | synchronizer/listener.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synchronizer/listener.cpp b/synchronizer/listener.cpp index d9ee46d..1553f7d 100644 --- a/synchronizer/listener.cpp +++ b/synchronizer/listener.cpp | |||
@@ -174,8 +174,7 @@ void Listener::readFromSocket(QLocalSocket *socket) | |||
174 | for (Client &client: m_connections) { | 174 | for (Client &client: m_connections) { |
175 | if (client.socket == socket) { | 175 | if (client.socket == socket) { |
176 | client.commandBuffer += socket->readAll(); | 176 | client.commandBuffer += socket->readAll(); |
177 | if (processClientBuffer(client) && !m_clientBufferProcessesTimer->isActive()) { | 177 | if (!m_clientBufferProcessesTimer->isActive()) { |
178 | // we have more client buffers to handle | ||
179 | m_clientBufferProcessesTimer->start(); | 178 | m_clientBufferProcessesTimer->start(); |
180 | } | 179 | } |
181 | break; | 180 | break; |