Hi,
we also suffered from this bug in Neptune (distro based on Debian) and found a
patch that seems to work fine for bluedevil 1.2.3. (see attachement)
The patch is slightly modified from this one here:
https://bugs.kde.org/show_bug.cgi?id=297785#c8
Hope that helps.
--- bluedevil-1.2.3.orig/src/actionplugins/sendfile/helper/sendfilesjob.cpp
+++ bluedevil-1.2.3/src/actionplugins/sendfile/helper/sendfilesjob.cpp
@@ -85,14 +85,19 @@ void SendFilesJob::doStart()
OrgOpenobexClientInterface *client = new OrgOpenobexClientInterface("org.openobex.client", "/", QDBusConnection::sessionBus(), this);
QDBusPendingReply <void > reply = client->SendFiles(map, m_filesToSend, QDBusObjectPath("/BlueDevil_sendAgent"));
- QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(reply);
+ QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(reply, this);
connect(watcher, SIGNAL(finished(QDBusPendingCallWatcher*)), this, SLOT(sendFileResult(QDBusPendingCallWatcher*)));
}
void SendFilesJob::sendFileResult(QDBusPendingCallWatcher *call)
{
const QDBusPendingReply<QDBusObjectPath> reply = *call;
- call->deleteLater();
+ if (!reply.isValid()) {
+ return;
+ }
+ if (!reply.isFinished()) {
+ return;
+ }
if (!reply.isError()) {
return;
}