diff --git a/core/compositefiletransferjob.cpp b/core/compositefiletransferjob.cpp index 8b0319baa..9c0208623 100644 --- a/core/compositefiletransferjob.cpp +++ b/core/compositefiletransferjob.cpp @@ -6,7 +6,6 @@ #include "compositefiletransferjob.h" #include "filetransferjob.h" -#include #include #include #include diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index 4ded993c8..42c81c749 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include diff --git a/plugins/share/shareplugin.cpp b/plugins/share/shareplugin.cpp index a476f5d05..3a2cde1d4 100644 --- a/plugins/share/shareplugin.cpp +++ b/plugins/share/shareplugin.cpp @@ -128,7 +128,7 @@ bool SharePlugin::receivePacket(const NetworkPacket &np) m_compositeJob = new CompositeFileTransferJob(device()->id()); m_compositeJob->setProperty("destUrl", destinationDir().toString()); m_compositeJob->setProperty("immediateProgressReporting", true); - KIO::getJobTracker()->registerJob(m_compositeJob); + Daemon::instance()->jobTracker()->registerJob(m_compositeJob); } FileTransferJob *job = np.createPayloadTransferJob(destination);