[Kstars-devel] Review Request 112732: Stop unnecessary iteration when null name is passed to getImage

Vijay Dhameliya vijay.atwork13 at gmail.com
Sun Sep 15 04:58:51 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112732/
-----------------------------------------------------------

Review request for KStars, Akarsh Simha and Rafal Kulaga.


Description
-------

When null string is passed as name to getImage function of TextureManager ,there is no need to call TextureManager::findTexture() and can return empyImage directly. 


Diffs
-----

  kstars/texturemanager.cpp 33df367 

Diff: http://git.reviewboard.kde.org/r/112732/diff/


Testing
-------


Thanks,

Vijay Dhameliya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20130915/1d51b768/attachment.html>


More information about the Kstars-devel mailing list