diff options
Diffstat (limited to 'saltoqd/obexconnection.cpp')
-rw-r--r-- | saltoqd/obexconnection.cpp | 11 |
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); |