[Patch] Fix for icon loading when asked for icon via KIconTheme::iconPath (const QString &, int, KIcon::MatchType) and KIconTheme::iconPath (const QString ).
djurban at pld-dc.org
Thu Jun 3 18:12:24 BST 2004
My last commit in kdebase/kcontrol/icons/icontheme.cpp removing .png from the
icon names caused an unexpected bug (no preview at all). It was like this
because the KIconTheme::iconPath function used there was expecting the name
to have an extension (as opposing to what the documentation said
The attached patch fixes it (now it tries name.png,name.svg,name.svgz an
name.xpm, in that order). It also is backward compatible.
Please review it.
djurban at pld-linux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1282 bytes
Desc: not available
More information about the kde-core-devel