Review Request 122183: [KUnitConversion] Currency: Fetch the currency file properly

David Faure faure at kde.org
Fri Jan 23 21:02:41 UTC 2015


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



src/currency.cpp
<https://git.reviewboard.kde.org/r/122183/#comment51724>

    can be removed now



src/currency.cpp
<https://git.reviewboard.kde.org/r/122183/#comment51725>

    (btw KIO is threadsafe now, this should work)



src/currency.cpp
<https://git.reviewboard.kde.org/r/122183/#comment51727>

    pass 'this' as 3rd argument, just in case 'this' gets deleted while the job is running?



src/currency.cpp
<https://git.reviewboard.kde.org/r/122183/#comment51726>

    I think reply->deleteLater() is missing too.


- David Faure


On Jan. 23, 2015, 2:17 p.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122183/
> -----------------------------------------------------------
> 
> (Updated Jan. 23, 2015, 2:17 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Bugs: 340819
>     https://bugs.kde.org/show_bug.cgi?id=340819
> 
> 
> Repository: kunitconversion
> 
> 
> Description
> -------
> 
> Currency: Fetch the currency file properly
> 
> Properly run an event loop and wait for the file to be fetched.
> 
> Also add a test to make sure currency conversion is working.
> 
> This patch also contains -
> * https://git.reviewboard.kde.org/r/122182/
> * https://git.reviewboard.kde.org/r/122181/
> * https://git.reviewboard.kde.org/r/122180/
> 
> This is because reviewboard refuses to upload only a part of the diff. Please only look at currency.cpp w.r.t the EventLoop.
> 
> 
> Diffs
> -----
> 
>   autotests/convertertest.h 8129a48 
>   autotests/convertertest.cpp ae4298e 
>   src/currency.cpp 715233c 
> 
> Diff: https://git.reviewboard.kde.org/r/122183/diff/
> 
> 
> Testing
> -------
> 
> Test now passes.
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

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


More information about the Kde-frameworks-devel mailing list