Question about commit

Pino Toscano pino at kde.org
Mon Feb 12 07:09:37 UTC 2018


Hi,

In data sabato 10 febbraio 2018 21:18:19 CET, Thomas Baumgart ha scritto:
> this commit on the 5.0 branch
> 
> commit 9b27c432ef80c9d4a35bc9dff37619cde9673343
> Author: Pino Toscano <pino at kde.org>
> Date:   Thu Feb 8 22:16:47 2018 +0100
> 
>     cmake: install local icons in the local datadir
>     
>     Install all the local actions icons to the kmymoney data directory, to
>     avoid polluting the global icon themes.
>     
>     Fixes commit d9cf5550c478d95d4faf312c1149f30829829516.
> 
> apparently causes that the icons are not shown anymore in the application. Any 
> idea of what to look for?

I see, the icon loading code uses QIcon, which does not know about
local paths for icons. Can you please try the attached patch, which
switches to KIconLoader?

Since kmymoney has a lot of own icons, I'd really avoid to install them
in the global icon themes, with the risk of clashes with the themes
themselves. Also, the above commit makes the situation as it was in
kmymoney 4.x.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmm_icons.diff
Type: text/x-patch
Size: 1669 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20180212/b1aba23d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20180212/b1aba23d/attachment-0001.sig>


More information about the KMyMoney-devel mailing list