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

@ -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
}