diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-25 23:07:56 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-25 23:07:56 +0300 |
commit | 1f47a6af3a1c09e18ce49b67a635be981557a6e0 (patch) | |
tree | 20e00db7e8bc9315642b12890770ee170517f05d /src/TopRoomBar.h | |
parent | Enable scrollbar on the room list for macOS (#174) (diff) | |
download | nheko-1f47a6af3a1c09e18ce49b67a635be981557a6e0.tar.xz |
Improve the style of snackbar a bit
Diffstat (limited to 'src/TopRoomBar.h')
-rw-r--r-- | src/TopRoomBar.h | 3 |
1 files changed, 1 insertions, 2 deletions
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: |