Review Request 122181: [KUnitConversion] UnitCategory convert: Call UnitCategoryPrivate instead of duplicating it

David Edmundson david at davidedmundson.co.uk
Thu Jan 22 12:14:40 UTC 2015


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

Ship it!


Ship It!

- David Edmundson


On Jan. 21, 2015, 2:47 p.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122181/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2015, 2:47 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kunitconversion
> 
> 
> Description
> -------
> 
> 
>   This is probably a mistake when implementing the private class. Both
>   UnitCategoryPrivate::convert and UnitCategory::convert essentially
>   the same thing. However, all sub categories modify the
>   UnitCategoryPrivate virtual method, so we should be calling that one.
>     
>     
>   This was caught while trying to debug the currency converter. It has its
>   own custom convert function.
> 
> 
> Diffs
> -----
> 
>   src/unitcategory.cpp c34217e 
> 
> Diff: https://git.reviewboard.kde.org/r/122181/diff/
> 
> 
> Testing
> -------
> 
> Fixes a test in another patch.
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

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


More information about the Kde-frameworks-devel mailing list