Review Request 118415: Fix looking up icons

Martin Klapetek martin.klapetek at gmail.com
Fri May 30 10:46:13 UTC 2014



> On May 30, 2014, 12:40 p.m., Christoph Feck wrote:
> > Good catch, merci! Any chance this fixes bug 330845?

Yup, it does. I had Eike especially test this for his comment #2 on that bug, he says this fixes the problem :)


- Martin


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


On May 30, 2014, 10:23 a.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118415/
> -----------------------------------------------------------
> 
> (Updated May 30, 2014, 10:23 a.m.)
> 
> 
> Review request for KDE Frameworks and Christoph Feck.
> 
> 
> Repository: kiconthemes
> 
> 
> Description
> -------
> 
> What the current code does is looking for the best match, storing it into QString path...and then overwrite it with empty string on next run if the icon is not found in the current dir. So we need to check first if the icon is available in the theme and only then store the path, otherwise empty string gets returned non-deterministically.
> 
> This also fixes case of some missing icons in Plasma Next.
> 
> 
> Diffs
> -----
> 
>   src/kicontheme.cpp 78b8485 
> 
> Diff: https://git.reviewboard.kde.org/r/118415/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Klapetek
> 
>

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


More information about the Kde-frameworks-devel mailing list