Diffusion KIO 0532047f8b97

[CopyJob] Report results after finishing copy

Authored by broulik on Jul 2 2019, 1:09 PM.

Description

[CopyJob] Report results after finishing copy

Currently, slotReport is called all the way at the end when in STATE_SETTING_DIR_ATTRIBUTES. However, slotReport does nothing in this state.
Instead, move it to before changing away from STATE_COPYING_FILES so that progress is correctly reported for a final time.

BUG: 407656

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