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 <to...@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