Review Request 115982: Add a tool that creates a Mac OS X icns (icon) file from a svg file

Christoph Feck christoph at maxiom.de
Mon Feb 24 21:34:11 UTC 2014


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



src/tools/ksvg2icns/ksvg2icns.cpp
<https://git.reviewboard.kde.org/r/115982/#comment35625>

    Please only #include needed headers, instead all of QtGui.



src/tools/ksvg2icns/ksvg2icns.cpp
<https://git.reviewboard.kde.org/r/115982/#comment35630>

    Insert painter.end() here, just to be safe.



src/tools/ksvg2icns/ksvg2icns.cpp
<https://git.reviewboard.kde.org/r/115982/#comment35628>

    Could you rename those variables? "if (!path2.isEmpty() && !image.save(path2))" is a bit clearer :)



src/tools/ksvg2icns/ksvg2icns.cpp
<https://git.reviewboard.kde.org/r/115982/#comment35629>

    Use curly braces, even on single-line "if" body.


- Christoph Feck


On Feb. 23, 2014, 9:16 p.m., Harald Fernengel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115982/
> -----------------------------------------------------------
> 
> (Updated Feb. 23, 2014, 9:16 p.m.)
> 
> 
> Review request for KDE Frameworks and Christoph Feck.
> 
> 
> Repository: kiconthemes
> 
> 
> Description
> -------
> 
> This is a small tool that generates Mac OS X icon files from (oxygen) svg[z] files.
> 
> 
> Diffs
> -----
> 
>   src/CMakeLists.txt 76932ca87c7de2dc25398e1fca8916426ce7e566 
>   src/tools/ksvg2icns/CMakeLists.txt PRE-CREATION 
>   src/tools/ksvg2icns/ksvg2icns.cpp PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/115982/diff/
> 
> 
> Testing
> -------
> 
> Builds on Mac OS X
> 
> 
> Thanks,
> 
> Harald Fernengel
> 
>

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


More information about the Kde-frameworks-devel mailing list