Do not send an update packet until we have actually begun processing sub-jobs
This commit is contained in:
parent
975dd6e907
commit
805795af07
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue