mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-23 18:35:22 +02:00
Set the style hint ensuring the standard button in button boxes have icons
This commit is contained in:
parent
e095f5d0cf
commit
961c48a874
1 changed files with 3 additions and 2 deletions
|
|
@ -3644,9 +3644,10 @@ int Style::styleHint(StyleHint hint, const QStyleOption *option, const QWidget *
|
|||
case SH_FormLayoutWrapPolicy:
|
||||
return QFormLayout::DontWrapRows;
|
||||
#endif
|
||||
#if !defined QTC_QT_ONLY
|
||||
// Changed by Kovid
|
||||
case SH_DialogButtonBox_ButtonsHaveIcons:
|
||||
return KGlobalSettings::showIconsOnPushButtons();
|
||||
return 1;
|
||||
#if !defined QTC_QT_ONLY
|
||||
case SH_ItemView_ActivateItemOnSingleClick:
|
||||
return KGlobalSettings::singleClick();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue