macOs: Add missing border on the TopBar

This commit is contained in:
Konstantinos Sideris 2018-09-08 14:16:51 +03:00
parent df6b027a6a
commit 0588cb3dbf
2 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,8 @@
### Bug fixes
- Fixed crash when switching rooms. (#433)
- Fixed crash during low connectivity. (#406)
- Fixed issue with downloading media that don't have a generated thumbnail.
- macOS: Add missing border on the top bar.
- Fallback to the login screen when the one-time keys cannot be uploaded.
## [0.5.5] - 2018-09-01

View file

@ -80,6 +80,9 @@ protected:
#if !defined(Q_OS_MAC)
p.setPen(QPen(borderColor()));
p.drawLine(QPointF(0, height() - p.pen().width()), QPointF(width(), height()));
#else
p.setPen(QPen(borderColor()));
p.drawLine(QPointF(0, height()), QPointF(width(), height()));
#endif
}