summary refs log tree commit diff
path: root/src/TopRoomBar.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-25 23:07:56 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-25 23:07:56 +0300
commit1f47a6af3a1c09e18ce49b67a635be981557a6e0 (patch)
tree20e00db7e8bc9315642b12890770ee170517f05d /src/TopRoomBar.h
parentEnable scrollbar on the room list for macOS (#174) (diff)
downloadnheko-1f47a6af3a1c09e18ce49b67a635be981557a6e0.tar.xz
Improve the style of snackbar a bit
Diffstat (limited to 'src/TopRoomBar.h')
-rw-r--r--src/TopRoomBar.h3
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: