diff --git a/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp b/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp index dbe356b5c1..c1b24959a0 100644 --- a/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp +++ b/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp @@ -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; }