Review Request 127236: Leverage QDir to know what's in a KIconThemeDir

Ralf Habacker ralf.habacker at freenet.de
Tue Mar 1 08:30:46 UTC 2016


Am 01.03.2016 um 09:16 schrieb Nick Shaforostoff:

> At the moment we're playing Battleship to see if an icon is present in
> a subdirectory. This means that we are checking on every directory if
> there's an icon that matches the size with a said name on every request.
>
>
> This can be seen easily with strace:
>
>
> $ strace kwrite |& grep ENOENT | wc -l
> 6212
>
>
> After the patch:
>
>
> $ strace kwrite |& grep ENOENT | wc -l
> 1993
>
Nice work :-)

This is one of the major KF5 issues on Windows.

Ralf

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


More information about the Kde-frameworks-devel mailing list