mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Set the style hint ensuring the standard button in button boxes have icons
This commit is contained in:
parent
e095f5d0cf
commit
961c48a874
@ -3644,9 +3644,10 @@ int Style::styleHint(StyleHint hint, const QStyleOption *option, const QWidget *
|
|||||||
case SH_FormLayoutWrapPolicy:
|
case SH_FormLayoutWrapPolicy:
|
||||||
return QFormLayout::DontWrapRows;
|
return QFormLayout::DontWrapRows;
|
||||||
#endif
|
#endif
|
||||||
#if !defined QTC_QT_ONLY
|
// Changed by Kovid
|
||||||
case SH_DialogButtonBox_ButtonsHaveIcons:
|
case SH_DialogButtonBox_ButtonsHaveIcons:
|
||||||
return KGlobalSettings::showIconsOnPushButtons();
|
return 1;
|
||||||
|
#if !defined QTC_QT_ONLY
|
||||||
case SH_ItemView_ActivateItemOnSingleClick:
|
case SH_ItemView_ActivateItemOnSingleClick:
|
||||||
return KGlobalSettings::singleClick();
|
return KGlobalSettings::singleClick();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user