It's no longer necessary as Qt sets icons on context menu actions itself
by now.
Details
Details
- Reviewers
mlaurent - Maniphest Tasks
- T11865: Deprecate KIconTheme::assignIconsToContextMenu
- Commits
- R302:ccf27d634cbf: Deprecate KIconTheme::assignIconsToContextMenu
Diff Detail
Diff Detail
- Repository
- R302 KIconThemes
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
As KIconThems supports EXCLUDE_DEPRECATED_BEFORE_AND_AT., you want to also wrap the implementation of assignIconsToContextMenu, with #if KICONTHEMES_BUILD_DEPRECATED_SINCE(5, 64) (look out for _BUILD_).
Seems you are a candidate to answer the email https://mail.kde.org/pipermail/kde-frameworks-devel/2019-October/095831.html, please :)
src/kicontheme.h | ||
---|---|---|
291 | IMHO moving the KICONTHEMES_DEPRECATED_VERSION onto an own line improves readability, especially with longer "what to do now" text arguments. |