Properly display the bottom border on the TopRoomBar
This commit is contained in:
parent
824563e38a
commit
4f41c0df4d
@ -79,7 +79,8 @@ protected:
|
||||
style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
|
||||
|
||||
p.setPen(QPen(borderColor()));
|
||||
p.drawLine(QPointF(0, height()), QPointF(width(), height()));
|
||||
p.drawLine(QPointF(0, height() - p.pen().widthF()),
|
||||
QPointF(width(), height() - p.pen().widthF()));
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user