KIO: try to assign an icon to action submenus

Aleix Pol aleixpol at kde.org
Mon Mar 9 16:21:59 GMT 2020


Hi Chloe,
I just submitted the patch on your behalf:
https://phabricator.kde.org/D27950

Built it and seems to work.

Hope this helps.
Aleix

On Sat, Mar 7, 2020 at 12:27 AM Chloe Kudryavtsev <toast at toast.cafe> wrote:
>
> Currently, action submenus (X-KDE-Submenu) have no icons.
> This patch makes it inherit the icon of the first action.
> There will always be at least one action, since empty submenus are
> eliminated earlier in the function.
> If the icon of the first action is empty, it will gracefully revert to
> old behavior (not having an icon).
>
> Please find the single-line patch attached (I have little desire to make
> yet another account in phabricator, especially for such a small patch,
> and was encouraged to send the patch via email on irc).


More information about the Kde-frameworks-devel mailing list