diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-05-04 08:39:11 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2016-05-04 18:38:43 +0000 |
commit | 0eff7256eca593d723f2c9ecdba0d4d0f85f403e (patch) | |
tree | b588ffea707113048d5fd6e3d69b0bfaacf9752e /ui | |
parent | 9294f542a07de016c3c3af0945c6cf6cd6185613 (diff) |
Qt: Fix the packet map background color.
Qt's item view widgets use QPalette::Base as a background color. Fill
the packet map accordingly.
Change-Id: I5e00c9c7dab554efa674b91296e75863d335dea4
Reviewed-on: https://code.wireshark.org/review/15264
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/overlay_scroll_bar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/overlay_scroll_bar.cpp b/ui/qt/overlay_scroll_bar.cpp index a021fc3fc9..d24adc81ff 100644 --- a/ui/qt/overlay_scroll_bar.cpp +++ b/ui/qt/overlay_scroll_bar.cpp @@ -149,7 +149,7 @@ void OverlayScrollBar::paintEvent(QPaintEvent *event) QPainter painter(this); - painter.fillRect(event->rect(), palette().window()); + painter.fillRect(event->rect(), palette().base()); if (!packet_map_img_.isNull()) { QImage packet_map(pm_size, QImage::Format_ARGB32_Premultiplied); |