tst_qquickimage::mirror(): Ensure screenshots are in the correct format

Task-number: QTBUG-59787
Change-Id: I9ef1e6e5284cadc37bdac342b02cf93655346d57
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Friedemann Kleint 2017-03-29 08:36:06 +02:00 committed by Simon Hausmann
parent 1b8c7e72e4
commit b82d5bb418
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ void tst_qquickimage::mirror()
}
QImage img = expected.toImage();
QCOMPARE(screenshots[fillMode], img);
QCOMPARE(screenshots[fillMode].convertToFormat(img.format()), img);
}
}