D10663: Remove a partially copied file if copyjob was cancelled in the middle of file copying

Anthony Fieroni noreply at phabricator.kde.org
Wed May 2 03:43:46 UTC 2018


anthonyfieroni added inline comments.

INLINE COMMENTS

> filecopyjob.cpp:320
> +    // It is better to clean up this file.
> +    if (!isSuspended() && d->m_bFileWritingIsInProcess) {
> +        KIO::file_delete(d->m_dest);

&& metadata(QStringLiteral("overwrite")) != QLatin1String("true")

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D10663

To: dmitrio, #frameworks, dfaure, ngraham
Cc: elvisangelaccio, ngraham, anthonyfieroni, meven, #frameworks, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180502/2eee3e11/attachment.html>


More information about the Kde-frameworks-devel mailing list