The check for SH_Menu_AllowActiveAndDisabled is done in eight places. Simplify it by added a helper function which checks if an action should be considered (i.e. is not a separator, is enabled or SH_Menu_AllowActiveAndDisabled is enabled). Pick-to: 6.9 6.8 Task-number: QTBUG-56952 Change-Id: I65c6dc67b804dd4c5cf463767a525ec6f785bf1a Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%