Fix painting of view corner when both scrollbars visible
This commit is contained in:
committed by
craig.p.drummond
parent
eab13baf8f
commit
1f93d89e2b
@@ -455,7 +455,7 @@ void TouchProxyStyle::drawComplexControl(ComplexControl control, const QStyleOpt
|
||||
|
||||
void TouchProxyStyle::drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const
|
||||
{
|
||||
if (PE_PanelScrollAreaCorner==element && SB_Thin==sbarType && option) {
|
||||
if (PE_PanelScrollAreaCorner==element && option && SB_Standard!=sbarType) {
|
||||
painter->fillRect(option->rect, option->palette.brush(QPalette::Base));
|
||||
} else {
|
||||
baseStyle()->drawPrimitive(element, option, painter, widget);
|
||||
|
||||
Reference in New Issue
Block a user