From 1f47a6af3a1c09e18ce49b67a635be981557a6e0 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 25 Jul 2018 23:07:56 +0300 Subject: Improve the style of snackbar a bit --- src/TopRoomBar.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/TopRoomBar.h') diff --git a/src/TopRoomBar.h b/src/TopRoomBar.h index 1c42e25f..994486e0 100644 --- a/src/TopRoomBar.h +++ b/src/TopRoomBar.h @@ -79,8 +79,7 @@ protected: style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this); p.setPen(QPen(borderColor())); - p.drawLine(QPointF(0, height() - p.pen().widthF()), - QPointF(width(), height() - p.pen().widthF())); + p.drawLine(QPointF(0, height()), QPointF(width(), height())); } private: -- cgit 1.5.1