Rework the settings user interface (#3534)
This commit is contained in:
@@ -31,5 +31,11 @@ int HintOverrideProxyStyle::styleHint(QStyle::StyleHint hint,
|
||||
if (hint == QStyle::SH_ItemView_ActivateItemOnSingleClick)
|
||||
return 0;
|
||||
|
||||
if (hint == QStyle::SH_Slider_AbsoluteSetButtons)
|
||||
return Qt::LeftButton | Qt::MiddleButton;
|
||||
|
||||
if (hint == QStyle::SH_Slider_PageSetButtons)
|
||||
return Qt::RightButton;
|
||||
|
||||
return QProxyStyle::styleHint(hint, option, widget, returnData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user