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:
parent
1b8c7e72e4
commit
b82d5bb418
|
@ -373,7 +373,7 @@ void tst_qquickimage::mirror()
|
|||
}
|
||||
|
||||
QImage img = expected.toImage();
|
||||
QCOMPARE(screenshots[fillMode], img);
|
||||
QCOMPARE(screenshots[fillMode].convertToFormat(img.format()), img);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue