There is no direct equivalent of SizeSmallMedium (22) in QStyle. There is either Small (16) or large (32)
- Group Reviewers
- Maniphest Tasks
- T11637: Investigate if KIconThemes is needed as a framework
Traditionally, 22 was used for toolbar icons. You could replace 22 with QStyle::PM_ToolBarIconSize, but it really depends on where you want the icons to appear. Generally, QStyle::PM_SmallIconSize is for icons that are placed next to a single line of text, unless there is a more specifc PixelMetric enum, e.g. QStyle::PM_ButtonIconSize.