Review Request 123590: ftp slave: Fix conditions for QFile::rename

Boris Egorov egorov at linux.com
Sat May 2 11:03:01 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123590/
-----------------------------------------------------------

(Updated May 2, 2015, 11:03 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and David Faure.


Changes
-------

Submitted with commit e5c3f7eda489ee22c2f9f266884faa43f444f03c by Boris Egorov to branch master.


Bugs: 343329
    https://bugs.kde.org/show_bug.cgi?id=343329


Repository: kio


Description
-------

QFile::rename returns true on success[1], so code should treat it
appropriately. Previously code shows an error when all worked fine.

    1: http://doc.qt.io/qt-5/qfile.html#rename


Diffs
-----

  src/ioslaves/ftp/ftp.cpp 7036f22 

Diff: https://git.reviewboard.kde.org/r/123590/diff/


Testing
-------

Tested with kioexec and Kate.

    kioexec cat ftp://ftp.gnu.org/welcome.msg
    kate ftp://ftp.gnu.org/welcome.msg
    
File from ftp loads and showed successfully.


Thanks,

Boris Egorov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150502/e14dd804/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list