Follow-up to my previous commit (fixes build)
This commit is contained in:
parent
74caaface0
commit
6e2f218b55
3 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include "compositefiletransferjob.h"
|
#include "compositefiletransferjob.h"
|
||||||
#include "filetransferjob.h"
|
#include "filetransferjob.h"
|
||||||
#include <KJobTrackerInterface>
|
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
#include <core_debug.h>
|
#include <core_debug.h>
|
||||||
#include <daemon.h>
|
#include <daemon.h>
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
#include <KNotification>
|
#include <KNotification>
|
||||||
#include <KWindowSystem>
|
#include <KWindowSystem>
|
||||||
|
#include <KIO/Global>
|
||||||
|
|
||||||
#include <dbushelper.h>
|
#include <dbushelper.h>
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ bool SharePlugin::receivePacket(const NetworkPacket &np)
|
||||||
m_compositeJob = new CompositeFileTransferJob(device()->id());
|
m_compositeJob = new CompositeFileTransferJob(device()->id());
|
||||||
m_compositeJob->setProperty("destUrl", destinationDir().toString());
|
m_compositeJob->setProperty("destUrl", destinationDir().toString());
|
||||||
m_compositeJob->setProperty("immediateProgressReporting", true);
|
m_compositeJob->setProperty("immediateProgressReporting", true);
|
||||||
KIO::getJobTracker()->registerJob(m_compositeJob);
|
Daemon::instance()->jobTracker()->registerJob(m_compositeJob);
|
||||||
}
|
}
|
||||||
|
|
||||||
FileTransferJob *job = np.createPayloadTransferJob(destination);
|
FileTransferJob *job = np.createPayloadTransferJob(destination);
|
||||||
|
|
Loading…
Reference in a new issue