diff options
author | Gerald Combs <gerald@zing.org> | 2014-10-25 17:19:38 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-10-26 00:30:57 +0000 |
commit | 155c939bb945c0ddc41f2a399c4d2b9303c11f51 (patch) | |
tree | 4c8ee0740ae9420c9bf4f6a890175069e8d28056 /ui/qt/proto_tree.cpp | |
parent | 6e5784d88a3657b738db8a00a1a8a1c29ed16753 (diff) |
Use better theme-derived colors. Switch back to AlternateBase for
protocol-level highlighting.
Change-Id: I3de3442885b93093c3a4f5341080713a2039cd4c
Reviewed-on: https://code.wireshark.org/review/4933
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/proto_tree.cpp')
-rw-r--r-- | ui/qt/proto_tree.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp index 80e3df65b9..eefa999986 100644 --- a/ui/qt/proto_tree.cpp +++ b/ui/qt/proto_tree.cpp @@ -94,8 +94,7 @@ proto_tree_draw_node(proto_node *node, gpointer data) QPalette pal = QApplication::palette(); if (fi && fi->hfinfo) { if(fi->hfinfo->type == FT_PROTOCOL) { - item->setData(0, Qt::BackgroundRole, pal.button()); - item->setData(0, Qt::ForegroundRole, pal.buttonText()); + item->setData(0, Qt::BackgroundRole, pal.alternateBase()); } if((fi->hfinfo->type == FT_FRAMENUM) || |