Review Request 122183: [KUnitConversion] Currency: Fetch the currency file properly
David Faure
faure at kde.org
Tue Feb 3 21:33:44 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122183/#review75337
-----------------------------------------------------------
src/currency.cpp
<https://git.reviewboard.kde.org/r/122183/#comment52109>
Why not just QDir().mkpath(info.absolutePath()) ?
src/currency.cpp
<https://git.reviewboard.kde.org/r/122183/#comment52110>
well then we still have a problem if the CurrencyCategory is being deleted before this job finishes. Can this happen? If so, then the destructor of the CurrencyCategory[Private] should delete the networkaccessmanager, to make sure that it can't emit finished later.
src/currency.cpp
<https://git.reviewboard.kde.org/r/122183/#comment52111>
missing error handling on the open() call [was there before this patch]
- David Faure
On Feb. 3, 2015, 12:49 p.m., Vishesh Handa wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122183/
> -----------------------------------------------------------
>
> (Updated Feb. 3, 2015, 12:49 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/20150203/c476dfd9/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list