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");