summaryrefslogtreecommitdiff
path: root/ui/qt/overlay_scroll_bar.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-05-11 17:31:15 -0700
committerJaap Keuter <jaap.keuter@xs4all.nl>2016-05-20 11:44:28 +0000
commit7a7d790e7b42d133fceb1a1cf3ef3e3488dde84d (patch)
tree1e95ed7f964a2eff7d6e13133c659fe0a6398d61 /ui/qt/overlay_scroll_bar.cpp
parent6e4824080af17d0aae35db5eec8465040c5aadd8 (diff)
downloadwireshark-7a7d790e7b42d133fceb1a1cf3ef3e3488dde84d.tar.gz
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>
Diffstat (limited to 'ui/qt/overlay_scroll_bar.cpp')
-rw-r--r--ui/qt/overlay_scroll_bar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/overlay_scroll_bar.cpp b/ui/qt/overlay_scroll_bar.cpp
index cfeee7c0f0..65fe66d784 100644
--- a/ui/qt/overlay_scroll_bar.cpp
+++ b/ui/qt/overlay_scroll_bar.cpp
@@ -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.