Review Request 118853: Log name + size of not found icons in debug output

Elias Probst mail at eliasprobst.eu
Sat Jun 21 02:53:53 UTC 2014


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

Review request for KDE Frameworks and Christoph Feck.


Repository: kiconthemes


Description
-------

Currently I get to see this debug log message quite often:

Warning: could not find "unknown" icon for size 48

This makes it hard to find out which icon was originally requested.
This patch adds a debug log message including the name + size of the not found icon before attempting to load the "unknown" icon.


Diffs
-----

  src/kiconloader.cpp 6e22f3e864db190f409550fcac964154c895ca6b 

Diff: https://git.reviewboard.kde.org/r/118853/diff/


Testing
-------

Debug log messages look now like this:

Icon "konsole" for size 48 not found
Warning: could not find "unknown" icon for size 48


Thanks,

Elias Probst

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


More information about the Kde-frameworks-devel mailing list