1
Index: bluedevil-1.0~rc4/src/daemon/obexftpkded/ObexFtpDaemon.cpp
2
===================================================================
3
--- bluedevil-1.0~rc4.orig/src/daemon/obexftpkded/ObexFtpDaemon.cpp 2010-09-19 09:35:13.549921001 -0400
4
+++ bluedevil-1.0~rc4/src/daemon/obexftpkded/ObexFtpDaemon.cpp 2010-09-19 09:36:57.357921000 -0400
7
qDBusRegisterMetaType<QStringMap>();
8
qRegisterMetaType<QStringMap>("QStringMap");
10
- connect(d->m_manager, SIGNAL(SessionConnected(QDBusObjectPath)), this, SLOT(SessionConnected(QDBusObjectPath)));
11
- connect(d->m_manager, SIGNAL(SessionClosed(QDBusObjectPath)), this, SLOT(SessionClosed(QDBusObjectPath)));
14
ObexFtpDaemon::~ObexFtpDaemon()
18
d->m_manager = new org::openobex::Manager("org.openobex", "/org/openobex", QDBusConnection::sessionBus(), 0);
19
+ connect(d->m_manager, SIGNAL(SessionConnected(QDBusObjectPath)), this, SLOT(SessionConnected(QDBusObjectPath)));
20
+ connect(d->m_manager, SIGNAL(SessionClosed(QDBusObjectPath)), this, SLOT(SessionClosed(QDBusObjectPath)));
22
d->m_status = Private::Online;
25
d->m_sessionMap.remove(i.key());
28
+ delete d->m_manager;
29
d->m_status = Private::Offline;