summaryrefslogtreecommitdiff
path: root/saltoqd/obexconnection.cpp
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-03-29 04:45:23 +0200
committerJavier <dev.git@javispedro.com>2015-03-29 04:45:23 +0200
commit4b508d6344f76ce69055ee8eb79bf43cc89ad69c (patch)
treed565a32595b34e7ef42906bc2348d91122cad911 /saltoqd/obexconnection.cpp
parenta1a3ea825275671b105f5c0417e25a3c0a59ed25 (diff)
downloadsaltoq-4b508d6344f76ce69055ee8eb79bf43cc89ad69c.tar.gz
saltoq-4b508d6344f76ce69055ee8eb79bf43cc89ad69c.zip
support recent comms and contacts
Diffstat (limited to 'saltoqd/obexconnection.cpp')
-rw-r--r--saltoqd/obexconnection.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/saltoqd/obexconnection.cpp b/saltoqd/obexconnection.cpp
index 28aa4e2..5fab0ab 100644
--- a/saltoqd/obexconnection.cpp
+++ b/saltoqd/obexconnection.cpp
@@ -7,13 +7,6 @@ ObexTransfer::ObexTransfer(obex_t *obex, obex_object_t *obj, QObject *parent) :
{
}
-ObexTransfer::~ObexTransfer()
-{
- if (_obj) {
- OBEX_ObjectDelete(_obex, _obj);
- }
-}
-
void ObexTransfer::cancel()
{
// TODO
@@ -21,8 +14,10 @@ void ObexTransfer::cancel()
ObexConnection::ObexConnection(ToqConnection *conn, QObject *parent) :
QObject(parent), _conn(conn),
+ _socket(0),
_reconnectTimer(new QTimer(this)),
- _obex(0), _connected(false), _busy(false)
+ _obex(0),
+ _connected(false), _busy(false)
{
connect(_conn, &ToqConnection::connected,
this, &ObexConnection::handleToqConnected);