[Kstars-devel] Re: Review Request: Add SVG format support for sky image export function.
Rafal Kulaga
rl.kulaga at gmail.com
Mon May 2 13:54:52 CEST 2011
> On May 1, 2011, 9:33 p.m., Aleksey Khudyakov wrote:
> > Looks fine. Although return from middle of function do not improve readability.
> > Probably it's better to structure code like that:
> >
> > if( save_to_SVG ) {
> > // Save to SVG
> > } else {
> > // Save to raster format
> >
> > }
> >
> >
> > Please add following line to commit message? I'll close bug in meantime
> >
> > CCBUG: 109042
I have pushed the changes to gsoc2011 branch, which was created by Victor for my GSoC project. Should I also use this branch for all my patches (including bug-fixes) or commit changes directly to the master branch after positive review?
Also, thanks for your comments on my code!
- Rafal
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101268/#review3030
-----------------------------------------------------------
On May 2, 2011, 11:48 a.m., Rafal Kulaga wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101268/
> -----------------------------------------------------------
>
> (Updated May 2, 2011, 11:48 a.m.)
>
>
> Review request for KStars.
>
>
> Summary
> -------
>
> Class QSvgGenerator is used as a QPaintDevice for SkyMapDrawAbstract::exportSkyImage() method.
>
> Overlays, names etc. are saved as vector graphics; sky images are saved as raster graphics (<image> element).
>
>
> Diffs
> -----
>
> kstars/kstarsactions.cpp d0f4094
> kstars/kstarsdcop.cpp a70d732
>
> Diff: http://git.reviewboard.kde.org/r/101268/diff
>
>
> Testing
> -------
>
> Done basic testing, no problems detected.
>
>
> Thanks,
>
> Rafal
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kstars-devel/attachments/20110502/744abf5d/attachment.htm
More information about the Kstars-devel
mailing list