summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qdatastream.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-11-05 20:43:37 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2025-01-29 20:08:49 +0100
commite0a44cd32ed3884fd665c112a9dfc2bc45a6597d (patch)
treef66dd21b67b6b63577600afc120e77f088300c33 /src/corelib/serialization/qdatastream.cpp
parent8e843ddba8de6b9dbe9851856fd4524af5d3c584 (diff)
QMenu: Simplify check for SH_Menu_AllowActiveAndDisabled
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>
Diffstat (limited to 'src/corelib/serialization/qdatastream.cpp')
0 files changed, 0 insertions, 0 deletions