mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
macOS: hide accelerator key underlines since they dont work anyway as Apple does not believe in them
This commit is contained in:
parent
bf3d7ad5b0
commit
cac07c2f22
@ -173,6 +173,10 @@ class CalibreStyle: public QProxyStyle {
|
|||||||
return QFormLayout::FieldsStayAtSizeHint; // Do not have fields expand to fill all available space in QFormLayout
|
return QFormLayout::FieldsStayAtSizeHint; // Do not have fields expand to fill all available space in QFormLayout
|
||||||
case SH_ScrollBar_Transient:
|
case SH_ScrollBar_Transient:
|
||||||
return transient_scroller;
|
return transient_scroller;
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
case SH_UnderlineShortcut:
|
||||||
|
return 0;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user