forked from osmocom/wireshark
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:
parent
892d5914b4
commit
9900c86548
|
@ -317,7 +317,7 @@ void PacketList::colorsChanged()
|
||||||
"QTreeView:item:hover {"
|
"QTreeView:item:hover {"
|
||||||
" background-color: %1;"
|
" background-color: %1;"
|
||||||
" color: palette(text);"
|
" color: palette(text);"
|
||||||
"}").arg(hover_color.name());
|
"}").arg(hover_color.name(QColor::HexArgb));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QString active_style = QString();
|
QString active_style = QString();
|
||||||
|
|
|
@ -62,7 +62,7 @@ ProtoTree::ProtoTree(QWidget *parent, epan_dissect_t *edt_fixed) :
|
||||||
"QTreeView:item:hover {"
|
"QTreeView:item:hover {"
|
||||||
" background-color: %1;"
|
" background-color: %1;"
|
||||||
" color: palette(text);"
|
" color: palette(text);"
|
||||||
"}").arg(hover_color.name()));
|
"}").arg(hover_color.name(QColor::HexArgb)));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Shrink down to a small but nonzero size in the main splitter.
|
// Shrink down to a small but nonzero size in the main splitter.
|
||||||
|
|
Loading…
Reference in New Issue