aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-08-17 22:04:20 +0000
committerGerald Combs <gerald@wireshark.org>2012-08-17 22:04:20 +0000
commit29d4ead8ad43c110e37b344096f3268b2b70b606 (patch)
tree128ff0d9d457bf1b332dd2c03ea7a19cf0d0e4d1 /ui/qt
parentc12c712d9c2050cb5d7835f037585d43d2f354d9 (diff)
Fix a focus artifact on Windows and adjust colors for not-so-stellar
monitors. svn path=/trunk/; revision=44556
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/main_welcome.cpp7
-rw-r--r--ui/qt/main_welcome.ui3
2 files changed, 7 insertions, 3 deletions
diff --git a/ui/qt/main_welcome.cpp b/ui/qt/main_welcome.cpp
index b468db5f8b..28040f6f80 100644
--- a/ui/qt/main_welcome.cpp
+++ b/ui/qt/main_welcome.cpp
@@ -84,7 +84,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
setStyleSheet(
"MainWelcome {"
- " background: palette(base);"
+ " background: palette(light);"
+ " color: palette(dark);"
" padding: 2em;"
" }"
"QListWidget {"
@@ -129,8 +130,8 @@ MainWelcome::MainWelcome(QWidget *parent) :
// " background-color: palette(midlight);"
// "}"
"QListWidget::item:selected {"
- " background-color: palette(window);"
- " color: palette(window-text);"
+ " background-color: palette(mid);"
+ " color: palette(light);"
"}"
);
diff --git a/ui/qt/main_welcome.ui b/ui/qt/main_welcome.ui
index d648e8000e..57a2fd7587 100644
--- a/ui/qt/main_welcome.ui
+++ b/ui/qt/main_welcome.ui
@@ -96,6 +96,9 @@
<verstretch>5</verstretch>
</sizepolicy>
</property>
+ <property name="focusPolicy">
+ <enum>Qt::NoFocus</enum>
+ </property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>