aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_welcome.cpp
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-07-15 20:22:27 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2017-07-16 19:40:22 +0000
commit1ed38dc2be1b6984fad9c2e4f22094f43907a318 (patch)
tree4e5e693033b06f561aa289a1a87aeb258d8596c1 /ui/qt/main_welcome.cpp
parent7f23b51868ce26e2b127ce6d329d9cd4157511e3 (diff)
Qt: Main Welcome hover text color fix.
Use the default text color for hovered items. This makes the selected item look the same as non-selected items when hovering. Change-Id: Ic9e18323326f088202207ac15f844e7849f7ebc9 Ping-Bug: 12636 Reviewed-on: https://code.wireshark.org/review/22632 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/main_welcome.cpp')
-rw-r--r--ui/qt/main_welcome.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/main_welcome.cpp b/ui/qt/main_welcome.cpp
index 079e819c3c..e516e89677 100644
--- a/ui/qt/main_welcome.cpp
+++ b/ui/qt/main_welcome.cpp
@@ -93,6 +93,7 @@ MainWelcome::MainWelcome(QWidget *parent) :
"}"
"QAbstractItemView:item:hover {"
" background-color: %1;"
+ " color: palette(text);"
"}"
)
.arg(hover_color.name())