diff options
author | Thomas Zander <t.zander@nokia.com> | 2009-09-02 20:04:22 (GMT) |
---|---|---|
committer | Thomas Zander <thomas.zander@trolltech.com> | 2009-09-04 14:49:49 (GMT) |
commit | 1dd1400a84831da7377dadd2521460f129e9640a (patch) | |
tree | 973847183e7f7d159773c0f414e51444e9377473 /tests/manual | |
parent | 504b819e01d5b3768fc525c648ce43a1574b81d8 (diff) | |
download | Qt-1dd1400a84831da7377dadd2521460f129e9640a.zip Qt-1dd1400a84831da7377dadd2521460f129e9640a.tar.gz Qt-1dd1400a84831da7377dadd2521460f129e9640a.tar.bz2 |
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 15a3d80..684f2a5 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(); |