Commit 4444b4d3 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Always show notification when receiving files

Otherwise we get no notification for very short transfers

BUG: 417823
parent ff40955e
Pipeline #98188 passed with stage
in 4 minutes and 28 seconds
...@@ -113,6 +113,7 @@ bool SharePlugin::receivePacket(const NetworkPacket& np) ...@@ -113,6 +113,7 @@ bool SharePlugin::receivePacket(const NetworkPacket& np)
if (!m_compositeJob) { if (!m_compositeJob) {
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);
KIO::getJobTracker()->registerJob(m_compositeJob); KIO::getJobTracker()->registerJob(m_compositeJob);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment