summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdatastream
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 11:25:03 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 11:25:03 (GMT)
commitb111d0bb1f0483d507c758810a0f247cb8dd82c0 (patch)
tree9db9a693360c607a53d1ec8c3c421b338fb53fef /tests/auto/qdatastream
parent3e2c214dc217ac677733e2a56ac9f17ff0c3196f (diff)
parent95db13345cd7b6b7cac8725fe2879aaf80233818 (diff)
downloadQt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.zip
Qt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.tar.gz
Qt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.tar.bz2
Merge commit 'origin/4.6' into 4.6-ce
Diffstat (limited to 'tests/auto/qdatastream')
-rw-r--r--tests/auto/qdatastream/tst_qdatastream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdatastream/tst_qdatastream.cpp b/tests/auto/qdatastream/tst_qdatastream.cpp
index 0269cea..24447ea 100644
--- a/tests/auto/qdatastream/tst_qdatastream.cpp
+++ b/tests/auto/qdatastream/tst_qdatastream.cpp
@@ -1460,7 +1460,7 @@ void tst_QDataStream::readQImage(QDataStream *s)
QVERIFY(d12.width() == ref.width());
QVERIFY(d12.height() == ref.height());
QVERIFY(d12.depth() == ref.depth());
- QVERIFY(d12.numColors() == ref.numColors());
+ QVERIFY(d12.colorCount() == ref.colorCount());
#ifdef QT3_SUPPORT
QVERIFY(d12.hasAlphaBuffer() == ref.hasAlphaBuffer());
#else