D29390: Respect QIcon::fallbackSearchpaths()
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Sun May 3 22:32:23 BST 2020
kossebau added inline comments.
INLINE COMMENTS
> aacid wrote in kiconloader.cpp:1142
> I just realized that function is private, not really easy to use :/
>
> anyhow do you think we should remove svgz?
>
> Also i think using
>
> const QStringList extensions = { QStringLiteral(".png"), QStringLiteral(".svg"), QStringLiteral(".svgz"), QStringLiteral(".xpm") };
>
> should be a bit faster
You could make this even a stack-only array, even more fast due to no heap alloc ;)
const QString extensions[] = { QStringLiteral(".png"), QStringLiteral(".svg"), QStringLiteral(".svgz") << QStringLiteral(".xpm" };
REPOSITORY
R302 KIconThemes
REVISION DETAIL
https://phabricator.kde.org/D29390
To: nicolasfella, #plasma, #frameworks
Cc: kossebau, aacid, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200503/d23e8b3e/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list