mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix disabled items in menus having blurry text
Qt is a strange beast. This is because the fusion style draws a copy of the text offset by 1px in the Light color from the disabled palette. Can also be fixed by setting the light color to the window color but that might have other undesirable effects.
This commit is contained in:
parent
f580758732
commit
ae6ef2807d
@ -167,6 +167,10 @@ int CalibreStyle::styleHint(StyleHint hint, const QStyleOption *option, const QW
|
||||
case SH_UnderlineShortcut:
|
||||
return 0;
|
||||
#endif
|
||||
case SH_EtchDisabledText:
|
||||
return 0;
|
||||
case SH_DitherDisabledText:
|
||||
return 0;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user