diff --git a/core/backends/lan/compositeuploadjob.cpp b/core/backends/lan/compositeuploadjob.cpp index 619901c15..b9d346693 100644 --- a/core/backends/lan/compositeuploadjob.cpp +++ b/core/backends/lan/compositeuploadjob.cpp @@ -206,8 +206,8 @@ bool CompositeUploadJob::addSubjob(KJob* job) } emitDescription(filename); - - if (m_running && !m_updatePacketPending) { + + if (m_running && m_currentJob && !m_updatePacketPending) { m_updatePacketPending = true; QMetaObject::invokeMethod(this, "sendUpdatePacket", Qt::QueuedConnection); }