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>
This commit is contained in:
parent
79e7fb4ed6
commit
5029a99118
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user