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
Details
Details
- Reviewers
albertvaka - Group Reviewers
KDE Connect - Commits
- R224:fb0990743a85: QTcpServer already has a list of pending connections and emits newConnection…
Send a file from desktop to android and observe that newConnection is only called once
Diff Detail
Diff Detail
- Repository
- R224 KDE Connect
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.