From 3b276855a0734b41a08bee702aa41834a2d9d78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80lex=20Fiestas?= Date: Mon, 3 Mar 2014 21:03:56 +0100 Subject: [PATCH] Add the FileTransferJob into the globalTracker --- kded/plugins/share/shareplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kded/plugins/share/shareplugin.cpp b/kded/plugins/share/shareplugin.cpp index affb0fc8d..351da76b9 100644 --- a/kded/plugins/share/shareplugin.cpp +++ b/kded/plugins/share/shareplugin.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -91,6 +92,7 @@ bool SharePlugin::receivePackage(const NetworkPackage& np) destination.addPath(filename); FileTransferJob* job = np.createPayloadTransferJob(destination); connect(job, SIGNAL(result(KJob*)), this, SLOT(finished(KJob*))); + KIO::getJobTracker()->registerJob(job); job->start(); } else if (np.has("text")) { QString text = np.get("text");