don't use a rounded rectangle when drawing the background of a widget
This commit is contained in:
parent
6d87a782ca
commit
ba29515720
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ void Widget::handle_repaint_rect(RepaintRectEvent &event) {
|
||||||
} else {
|
} else {
|
||||||
painter.source_rgb(m_style->background_norm());
|
painter.source_rgb(m_style->background_norm());
|
||||||
}
|
}
|
||||||
painter.rounded_rectangle(event.box(), m_style->border_radius());
|
painter.rounded_rectangle(event.box(), 0.0);
|
||||||
cr->fill();
|
cr->fill();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue