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.8
Fixes: QTBUG-134533
Change-Id: I42fc20349603cf610ee725802f1095008eafd183
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit c8338d8e77699d1b8d239a4cba30adf22f15acf2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Christian Ehrlicher 2024-12-25 14:47:39 +01:00 committed by Qt Cherry-pick Bot
parent 246c644622
commit 6f4ddfaef3

View File

@ -3434,7 +3434,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:
@ -3450,6 +3449,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: