forked from osmocom/wireshark
Qt: Add a bottom border to the packet map.
Draw a bottom border so it looks a bit less odd on OS X. This could use some further tweaking. Change-Id: Id76d0a0cece672b927d6217c7a9f970c1ba212bc Reviewed-on: https://code.wireshark.org/review/15391 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
This commit is contained in:
parent
6e4824080a
commit
7a7d790e7b
|
@ -190,6 +190,7 @@ void OverlayScrollBar::paintEvent(QPaintEvent *event)
|
|||
pm_painter.setPen(border_color);
|
||||
pm_painter.drawLine(near_dest.topLeft(), near_dest.bottomLeft());
|
||||
pm_painter.drawLine(near_dest.topRight(), near_dest.bottomRight());
|
||||
pm_painter.drawLine(near_dest.bottomLeft(), near_dest.bottomRight());
|
||||
pm_painter.restore();
|
||||
|
||||
// Draw the map.
|
||||
|
|
Loading…
Reference in New Issue