kdeconnect-kde/core
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
..
backends QTcpServer already has a list of pending connections and emits newConnection after calling incomingConnection 2018-11-19 14:13:41 +01:00
CMakeLists.txt Clean-up requirements: cmake 3.0, qt 5.7, use min versions, deduplicate KF5 2018-03-17 23:34:33 +01:00
core_debug.cpp Fix build failure on musl based systems 2018-06-09 22:45:19 +02:00
core_debug.h Added debug function to print a stack trace 2016-06-01 12:43:34 +02:00
daemon.cpp Fix minor EBN issues and typos 2018-10-07 21:23:20 +03:00
daemon.h Add a generic "something changed" signal 2018-05-29 21:09:45 +02:00
dbushelper.cpp Clazy says all this QStringLiteral and QLatin1String were missing/wrong 2016-11-26 16:21:29 +01:00
dbushelper.h Remove characters from UUID that aren't legal in URLs 2018-08-01 11:10:14 +02:00
device.cpp Show icons in plugin list 2018-08-03 02:25:39 +02:00
device.h Show icons in plugin list 2018-08-03 02:25:39 +02:00
filetransferjob.cpp Test if file was received completely if not delete the partial file 2018-11-10 11:41:39 +01:00
filetransferjob.h Merge branch 'master' into 1.x 2017-09-03 22:05:54 +02:00
kdeconnectconfig.cpp Fix minor EBN issues and typos 2018-10-07 21:23:20 +03:00
kdeconnectconfig.h Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
kdeconnectplugin.cpp Show icons in plugin list 2018-08-03 02:25:39 +02:00
kdeconnectplugin.h Show icons in plugin list 2018-08-03 02:25:39 +02:00
kdeconnectpluginconfig.cpp Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
kdeconnectpluginconfig.h Do not use a location under home as mount point 2017-02-18 16:14:51 +01:00
Messages.sh Figure out Messages.sh after code refactoring 2014-06-17 18:45:47 +02:00
networkpacket.cpp Make NetworkPacket Metatype-capable 2018-10-29 10:42:12 -06:00
networkpacket.h Make NetworkPacket Metatype-capable 2018-10-29 10:42:12 -06:00
networkpackettypes.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
pluginloader.cpp Show icons in plugin list 2018-08-03 02:25:39 +02:00
pluginloader.h Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
qtcompat_p.h Build kdeconnect on sailfish and port some simple plugins 2018-08-02 20:10:59 +01:00