diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-11 13:21:14 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-11 13:24:50 (GMT) |
commit | 8a5e82732be3aac37d14ef85c6974add46c6b65f (patch) | |
tree | 6ed49b6bb6cf945ba9f7963fa017c12ad2327f6d | |
parent | 5eba82b752e85a5d6cb3a893214ed2646d75f362 (diff) | |
download | Qt-8a5e82732be3aac37d14ef85c6974add46c6b65f.zip Qt-8a5e82732be3aac37d14ef85c6974add46c6b65f.tar.gz Qt-8a5e82732be3aac37d14ef85c6974add46c6b65f.tar.bz2 |
Fix tst_QVariant::invalidColor
Since a423ff5474b89028eeca95b254f5184311c8223b, the warning message is
no longer produced.
Reviewed-by: Samuel Rødal
-rw-r--r-- | tests/auto/qvariant/tst_qvariant.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qvariant/tst_qvariant.cpp b/tests/auto/qvariant/tst_qvariant.cpp index 6ebe84e..3e65d7e 100644 --- a/tests/auto/qvariant/tst_qvariant.cpp +++ b/tests/auto/qvariant/tst_qvariant.cpp @@ -2650,7 +2650,6 @@ void tst_QVariant::invalidAsByteArray() void tst_QVariant::invalidQColor() const { QVariant va("An invalid QColor::name() value."); - QTest::ignoreMessage(QtWarningMsg, "QColor::setNamedColor: Unknown color name 'An invalid QColor::name() value.'"); QVERIFY(va.canConvert(QVariant::Color)); QVERIFY(!va.convert(QVariant::Color)); |