kdeconnect-kde/core/backends
Erik Duisters fb0990743a QTcpServer already has a list of pending connections and emits newConnection after calling incomingConnection
Summary:
No need to emit newConnection in Server::incomingConnection because QTcpServer will emit it after incomingConnection returns
QTcpServer also already has a list of pending connections so use that

Test Plan: Send a file from desktop to android and observe that newConnection is only called once

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17009
2018-11-19 14:13:41 +01:00
..
bluetooth Fix receiving payloads using a bluetooth connection 2018-10-04 19:05:34 +02:00
lan QTcpServer already has a list of pending connections and emits newConnection after calling incomingConnection 2018-11-19 14:13:41 +01:00
loopback Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
devicelinereader.cpp Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
devicelinereader.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
devicelink.cpp Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
devicelink.h Build kdeconnect on sailfish and port some simple plugins 2018-08-02 20:10:59 +01:00
linkprovider.cpp Reorganize sources 2014-06-14 15:22:40 +02:00
linkprovider.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
pairinghandler.cpp Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
pairinghandler.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00