aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/proto_tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/proto_tree.cpp')
-rw-r--r--ui/qt/proto_tree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/proto_tree.cpp b/ui/qt/proto_tree.cpp
index eefa999986..36e597dc5a 100644
--- a/ui/qt/proto_tree.cpp
+++ b/ui/qt/proto_tree.cpp
@@ -94,7 +94,8 @@ 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.alternateBase());
+ item->setData(0, Qt::BackgroundRole, pal.window());
+ item->setData(0, Qt::ForegroundRole, pal.windowText());
}
if((fi->hfinfo->type == FT_FRAMENUM) ||