diff options
author | Thomas Zander <t.zander@nokia.com> | 2009-09-02 22:04:22 +0200 |
---|---|---|
committer | Thomas Zander <thomas.zander@trolltech.com> | 2009-09-04 16:49:49 +0200 |
commit | 1dd1400a84831da7377dadd2521460f129e9640a (patch) | |
tree | 973847183e7f7d159773c0f414e51444e9377473 /tests/manual | |
parent | 504b819e01d5b3768fc525c648ce43a1574b81d8 (diff) | |
download | qt4-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.cpp | 1 |
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(); |