D27950: Assign an icon to action submenus
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Mon Mar 9 16:21:03 GMT 2020
apol created this revision.
apol added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
apol requested review of this revision.
REVISION SUMMARY
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).
Patch by Chloe Kudryavtsev <toast at toast.cafe>
REPOSITORY
R241 KIO
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D27950
AFFECTED FILES
src/widgets/kfileitemactions.cpp
To: apol, #frameworks
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200309/b82bd1d3/attachment.html>
More information about the Kde-frameworks-devel
mailing list