mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Properly display the bottom border on the TopRoomBar
This commit is contained in:
parent
824563e38a
commit
4f41c0df4d
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ protected:
|
||||||
style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
|
style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
|
||||||
|
|
||||||
p.setPen(QPen(borderColor()));
|
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:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue