Properly display the bottom border on the TopRoomBar

This commit is contained in:
Konstantinos Sideris 2018-07-12 18:30:01 +03:00
parent 824563e38a
commit 4f41c0df4d

View file

@ -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: