summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-12 18:30:01 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-12 18:30:23 +0300
commit4f41c0df4dcbaa36d1828db15e3dd251e5588088 (patch)
tree8acbc042cb414559df0412df59431406f51bf025 /include
parentAdded FindOlm.cmake script from mtxclient to find generic libolm packaged wit... (diff)
downloadnheko-4f41c0df4dcbaa36d1828db15e3dd251e5588088.tar.xz
Properly display the bottom border on the TopRoomBar
Diffstat (limited to 'include')
-rw-r--r--include/TopRoomBar.h3
1 files changed, 2 insertions, 1 deletions
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: