From 0044f09b12fc1e16dba72b0b9ad9753fa5083fc7 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Mon, 10 Apr 2023 10:51:46 +0200 Subject: [PATCH] Follow-up to my previous commit (fixes build) --- core/compositefiletransferjob.cpp | 1 - daemon/kdeconnectd.cpp | 1 + plugins/share/shareplugin.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) 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);