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: