Àlex Fiestas
258739cd93
Fix compile
...
Double declared variable plus missing ;, sorry :/
2014-04-14 21:57:48 +02:00
Àlex Fiestas
4a74f413ae
Accept all connections until none are available
...
When newConnection is called pendingConnections may have more than
one connectio, so we have to iterate and use all of them.
2014-04-14 21:57:48 +02:00
Àlex Fiestas
e4e4004912
Fix leak on connectError
...
We were not deleting the networkpacket not removing it from the map.
2014-04-14 21:57:48 +02:00
Àlex Fiestas
3735ca2cd1
Coding style and return early refactoring
2014-04-14 21:57:48 +02:00
Albert Vaca
d782060b39
Code chages for compatibility with MSVC compiler
...
Thanks to Xiluembo
2013-11-18 02:34:34 +01:00
Albert Vaca
6e5de6f437
qDebug -> kDebug with namespaces
...
Added 3 namespaces: kdeconnect_kded, kdeconnect_kcm and libkdeconnect
2013-11-06 22:16:55 +01:00
Albert Vaca
5bbfcd860f
LanDeviceLink now waits to read an entire line before trying to read it
...
Packages always end in \n, so this way we make sure we have a complete
package to unserialize. Before this patch, some long packages that were
divided in chunks weren't received correctly.
2013-10-30 01:18:25 +01:00
Albert Vaca
5cac14bc96
LanLinkProvider's onNetworkChange has no effect if onStop was called first
2013-10-05 15:56:06 +02:00
Albert Vaca
91949acaa5
Refactor: Moved devicelinks and linkproviders to backends
2013-09-09 18:35:56 +02:00