forked from osmocom/wireshark
Qt/Minimap: Fix for Qt < 4.8
I hope it is quite right solution. Change-Id: Ia9c883a832ddd03985eda37a9b344c4d7c8135e2 Reviewed-on: https://code.wireshark.org/review/10091 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
e25562badd
commit
037524490d
|
@ -1410,7 +1410,11 @@ void PacketList::drawFarOverlay()
|
|||
// background is white. Instead of trying to figure out if our
|
||||
// available colors will show up, just use the palette's background
|
||||
// here and foreground below.
|
||||
#if QT_VERSION < QT_VERSION_CHECK(4, 8, 0)
|
||||
overlay.fill(palette().base().color().value());
|
||||
#else
|
||||
overlay.fill(palette().base().color());
|
||||
#endif
|
||||
QColor arrow_fg = palette().text().color();
|
||||
arrow_fg.setAlphaF(0.3);
|
||||
painter.setPen(arrow_fg);
|
||||
|
|
Loading…
Reference in New Issue