summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Ehrlicher <[email protected]>2024-12-25 14:47:39 +0100
committerChristian Ehrlicher <[email protected]>2025-03-09 20:32:23 +0100
commitc8338d8e77699d1b8d239a4cba30adf22f15acf2 (patch)
tree47d3e96130520381ab819660e0da56d7f1d024d9
parent6763e25cbc16cf8c54ab9b1ef97030aab9bb0eec (diff)
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 <[email protected]>
-rw-r--r--src/widgets/styles/qfusionstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/styles/qfusionstyle.cpp b/src/widgets/styles/qfusionstyle.cpp
index 2a5e04cee48..b51eb673037 100644
--- a/src/widgets/styles/qfusionstyle.cpp
+++ b/src/widgets/styles/qfusionstyle.cpp
@@ -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: