Set the deviceName from SharePlugin
This commit is contained in:
parent
39225d54d4
commit
39589434bd
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ bool SharePlugin::receivePackage(const NetworkPackage& np)
|
||||||
KUrl destination = destinationDir();
|
KUrl destination = destinationDir();
|
||||||
destination.addPath(filename);
|
destination.addPath(filename);
|
||||||
FileTransferJob* job = np.createPayloadTransferJob(destination);
|
FileTransferJob* job = np.createPayloadTransferJob(destination);
|
||||||
|
job->setDeviceName(device()->name());
|
||||||
connect(job, SIGNAL(result(KJob*)), this, SLOT(finished(KJob*)));
|
connect(job, SIGNAL(result(KJob*)), this, SLOT(finished(KJob*)));
|
||||||
KIO::getJobTracker()->registerJob(job);
|
KIO::getJobTracker()->registerJob(job);
|
||||||
job->start();
|
job->start();
|
||||||
|
|
Loading…
Reference in a new issue