From 4f41c0df4dcbaa36d1828db15e3dd251e5588088 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 12 Jul 2018 18:30:01 +0300 Subject: [PATCH] Properly display the bottom border on the TopRoomBar --- include/TopRoomBar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/TopRoomBar.h b/include/TopRoomBar.h index 994486e0..1c42e25f 100644 --- a/include/TopRoomBar.h +++ b/include/TopRoomBar.h @@ -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: