Use current style for position slider.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
28. Save/restore maximised state when collpasing/expanding interface.
|
||||
29. Add 'copy to device', etc, actions to folders page.
|
||||
30. Incremental update of folder page items.
|
||||
31. Use current style for position slider.
|
||||
|
||||
0.3.0
|
||||
-----
|
||||
|
||||
@@ -107,14 +107,15 @@ public:
|
||||
ProxyStyle()
|
||||
: QProxyStyle()
|
||||
{
|
||||
setBaseStyle(qApp->style());
|
||||
}
|
||||
|
||||
int styleHint(StyleHint stylehint, const QStyleOption *opt, const QWidget *widget, QStyleHintReturn *returnData) const
|
||||
{
|
||||
if(stylehint==QStyle::SH_Slider_AbsoluteSetButtons){
|
||||
return Qt::LeftButton|QProxyStyle::styleHint(stylehint,opt,widget,returnData);
|
||||
return Qt::LeftButton|QProxyStyle::styleHint(stylehint, opt, widget ,returnData);
|
||||
}else{
|
||||
return QProxyStyle::styleHint(stylehint,opt,widget,returnData);
|
||||
return QProxyStyle::styleHint(stylehint, opt, widget, returnData);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user