Follow-up to my previous commit (fixes build)

This commit is contained in:
Albert Vaca Cintora 2023-04-10 10:51:46 +02:00
parent 74caaface0
commit 6e2f218b55
3 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,6 @@
#include "compositefiletransferjob.h"
#include "filetransferjob.h"
#include <KJobTrackerInterface>
#include <KLocalizedString>
#include <core_debug.h>
#include <daemon.h>

View file

@ -19,6 +19,7 @@
#include <KLocalizedString>
#include <KNotification>
#include <KWindowSystem>
#include <KIO/Global>
#include <dbushelper.h>

View file

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