diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-28 17:06:11 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-31 02:34:23 +0100 |
commit | 5029a99118f4266bd06e0d594413575830de24a0 (patch) | |
tree | 15428ab26d9233bc8d13a9ba8e3ad47d7e3f5cc9 /tests/auto/gui/image | |
parent | 79e7fb4ed614cd5502e16f319170e5b26d54c528 (diff) |
Remove dead code from qpixmap autotest
The removed code was in #if 0 in the original commit of the test
function and appears to be an earlier version that should have been
discarded before the initial commit.
Change-Id: I91f16aa7adcccb50f4f3a02062fb9d105d85000c
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/gui/image')
-rw-r--r-- | tests/auto/gui/image/qpixmap/tst_qpixmap.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp b/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp index 4be8a40547..285db9778f 100644 --- a/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp +++ b/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp @@ -419,13 +419,7 @@ void tst_QPixmap::scroll() else QVERIFY(pixmap.cacheKey() != oldKey); -#if 0 - // Remember to add to resources. - QString fileName = QString("images/%1.png").arg(QTest::currentDataTag()); - pixmap.toImage().save(fileName); -#else QString fileName = QString(":/images/%1.png").arg(QTest::currentDataTag()); -#endif QPixmap output(fileName); QVERIFY(input.isNull() == output.isNull()); QVERIFY(lenientCompare(pixmap, output)); |