MacOS: Fix highlight color in dark mode, graphite highlight

Bug: 15885
Change-Id: I7921f84c05cad560b0673db951571f186adda3f4
Reviewed-on: https://code.wireshark.org/review/33775
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
Jason Cohen 2019-06-30 03:04:18 -05:00 committed by Stig Bjørlykke
parent 892d5914b4
commit 9900c86548
2 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@ void PacketList::colorsChanged()
"QTreeView:item:hover {"
" background-color: %1;"
" color: palette(text);"
"}").arg(hover_color.name());
"}").arg(hover_color.name(QColor::HexArgb));
#endif
QString active_style = QString();

View File

@ -62,7 +62,7 @@ ProtoTree::ProtoTree(QWidget *parent, epan_dissect_t *edt_fixed) :
"QTreeView:item:hover {"
" background-color: %1;"
" color: palette(text);"
"}").arg(hover_color.name()));
"}").arg(hover_color.name(QColor::HexArgb)));
#endif
// Shrink down to a small but nonzero size in the main splitter.