Review Request: [PATCH] Make the FTP ioslave emit mime-type of the content before actually reading it
Commit Hook
null at kde.org
Tue Apr 19 04:13:30 BST 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101149/#review2744
-----------------------------------------------------------
This review has been submitted with commit 217836074da0229a561a599c715088c653ea65e7 by Dawit Alemayehu.
- Commit
On April 18, 2011, 10:29 p.m., Dawit Alemayehu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101149/
> -----------------------------------------------------------
>
> (Updated April 18, 2011, 10:29 p.m.)
>
>
> Review request for kdelibs and David Faure.
>
>
> Summary
> -------
>
> The attached patch changes the ftpGet function such that it emits the mime-type of the content it is about to read, before starting to read it. That way kio_ftp will work correctly if and when it is put on hold to be reused from another application. Note that the patch uses QIODevice::peek to achieve this goal.
>
>
> Diffs
> -----
>
> kioslave/ftp/ftp.h 9814c10
> kioslave/ftp/ftp.cpp 64f43d8
>
> Diff: http://git.reviewboard.kde.org/r/101149/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Dawit
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110419/52dce7e2/attachment.htm>
More information about the kde-core-devel
mailing list