diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-28 07:12:34 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-04-28 07:14:39 (GMT) |
commit | 484d54532a773cf90ebf8c9c2c4f4d839b1b3744 (patch) | |
tree | aafb2e9e736da78d7e0c9e302ede5b71e04035b8 /tests | |
parent | 3c12dd749ff0d9747af416db68ba2447d36bf8aa (diff) | |
download | Qt-484d54532a773cf90ebf8c9c2c4f4d839b1b3744.zip Qt-484d54532a773cf90ebf8c9c2c4f4d839b1b3744.tar.gz Qt-484d54532a773cf90ebf8c9c2c4f4d839b1b3744.tar.bz2 |
Fix stylesheet test when button color != window color
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp index aa63753..24ccecf 100644 --- a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp +++ b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp @@ -605,8 +605,9 @@ void tst_QStyleSheetStyle::palettePropagation() QVERIFY(COLOR(gb) == Qt::red); QVERIFY(COLOR(pb) == APPCOLOR(pb)); // palette shouldn't propagate gb.setStyleSheet("QGroupBox * { color: red }"); + QVERIFY(COLOR(pb) == Qt::red); - QVERIFY(COLOR(gb) == APPCOLOR(pb)); + QVERIFY(COLOR(gb) == APPCOLOR(gb)); QWidget window; window.setStyleSheet("* { color: white; }"); |