summaryrefslogtreecommitdiff
path: root/ui/qt/overlay_scroll_bar.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-05-04 08:39:11 -0700
committerGerald Combs <gerald@wireshark.org>2016-05-04 18:38:43 +0000
commit0eff7256eca593d723f2c9ecdba0d4d0f85f403e (patch)
treeb588ffea707113048d5fd6e3d69b0bfaacf9752e /ui/qt/overlay_scroll_bar.cpp
parent9294f542a07de016c3c3af0945c6cf6cd6185613 (diff)
downloadwireshark-0eff7256eca593d723f2c9ecdba0d4d0f85f403e.tar.gz
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/qt/overlay_scroll_bar.cpp')
-rw-r--r--ui/qt/overlay_scroll_bar.cpp2
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);