Skip to content

Commit

Permalink
macOS: hide accelerator key underlines since they dont work anyway as…
Browse files Browse the repository at this point in the history
… Apple does not believe in them
  • Loading branch information
kovidgoyal committed Apr 25, 2020
1 parent bf3d7ad commit cac07c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/calibre/gui2/progress_indicator/QProgressIndicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ class CalibreStyle: public QProxyStyle {
return QFormLayout::FieldsStayAtSizeHint; // Do not have fields expand to fill all available space in QFormLayout
case SH_ScrollBar_Transient:
return transient_scroller;
#ifdef Q_OS_MAC
case SH_UnderlineShortcut:
return 0;
#endif
default:
break;
}
Expand Down

0 comments on commit cac07c2

Please sign in to comment.