Summary: | Copy paste error in KIO::TransferJob::doResume() | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | wolthera <griffinvalley> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | a.samirh78, kdelibs-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
wolthera
2019-10-06 11:17:55 UTC
I might be wrong btw, I am not too familiar with the code, just confused that resume suspends a thing but never resumes... There are two different objects here, a KIO job and KIO slave; the actual job resume is done in SimpleJob::doResume() and if that succeeds, d->internalSuspend() suspends the KIO slave (not the job): void TransferJobPrivate::internalSuspend() { m_internalSuspended = true; if (m_slave) { m_slave->suspend(); } } Alright, thanks! |