Recreate interrupted download when it is resumed

Authored by broulik on Nov 15 2018, 6:46 PM.

Description

Recreate interrupted download when it is resumed

When a download is canceled, finishes, or is interrupted (e.g. loss of network connection)
we finish the KJob to remove it from notification area.

However, when a job was interrupted and is then resumed, the download ID is reused by the
browser and we only get sent updates for a job we no longer have.

When we get a change event from interrupted to in_progress just pretend a new download
was created and carry on as normal.

BUG: 401038

Differential Revision: https://phabricator.kde.org/D16888

Details

Committed
broulikNov 15 2018, 6:46 PM
Differential Revision
D16888: Recreate interrupted download when it is resumed
Parents
R856:7bb04c749f67: Send all active downloads on load
Branches
Unknown
Tags
Unknown