summaryrefslogtreecommitdiff
path: root/tests/manual
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2009-09-02 22:04:22 +0200
committerThomas Zander <thomas.zander@trolltech.com>2009-09-04 16:49:49 +0200
commit1dd1400a84831da7377dadd2521460f129e9640a (patch)
tree973847183e7f7d159773c0f414e51444e9377473 /tests/manual
parent504b819e01d5b3768fc525c648ce43a1574b81d8 (diff)
downloadqt4-tools-1dd1400a84831da7377dadd2521460f129e9640a.tar.gz
Make the example also work on a desktop with a dark theme.
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/qtabletevent/device_information/tabletwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/qtabletevent/device_information/tabletwidget.cpp b/tests/manual/qtabletevent/device_information/tabletwidget.cpp
index 15a3d8086a..684f2a5a2b 100644
--- a/tests/manual/qtabletevent/device_information/tabletwidget.cpp
+++ b/tests/manual/qtabletevent/device_information/tabletwidget.cpp
@@ -47,6 +47,7 @@ TabletWidget::TabletWidget()
{
QPalette newPalette = palette();
newPalette.setColor(QPalette::Window, Qt::white);
+ newPalette.setColor(QPalette::WindowText, Qt::black);
setPalette(newPalette);
qApp->installEventFilter(this);
resetAttributes();