QFusionStyle: Disable SH_EtchDisabledText

SH_EtchDisabledText is not widely used in fusion style and where it is
used it
 - does not make any real difference for light mode
 - makes the text look like one missed the glasses

Therefore disable this hint for fusion.

Pick-to: 6.9 6.8
Fixes: QTBUG-134533
Change-Id: I42fc20349603cf610ee725802f1095008eafd183
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
Christian Ehrlicher 2024-12-25 14:47:39 +01:00
parent 6763e25cbc
commit c8338d8e77

View File

@ -3387,7 +3387,6 @@ int QFusionStyle::styleHint(StyleHint hint, const QStyleOption *option, const QW
case SH_ComboBox_ListMouseTracking:
case SH_Slider_StopMouseOverSlider:
case SH_ScrollBar_MiddleClickAbsolutePosition:
case SH_EtchDisabledText:
case SH_TitleBar_AutoRaise:
case SH_TitleBar_NoBorder:
case SH_ItemView_ShowDecorationSelected:
@ -3403,6 +3402,7 @@ int QFusionStyle::styleHint(StyleHint hint, const QStyleOption *option, const QW
return 1;
#endif
case SH_EtchDisabledText:
case SH_ToolBox_SelectedPageTitleBold:
case SH_ScrollView_FrameOnlyAroundContents:
case SH_Menu_AllowActiveAndDisabled: