Fixed compile.
Removed usage of QBool. Change-Id: I5e1db9cd3e833a196d73a3493967daa573200c77 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
a465e37bd6
commit
0889d69790
@@ -353,7 +353,7 @@ void tst_QPainterVideoSurface::supportedFormat()
|
|||||||
|
|
||||||
const QList<QVideoFrame::PixelFormat> pixelFormats = surface.supportedPixelFormats(handleType);
|
const QList<QVideoFrame::PixelFormat> pixelFormats = surface.supportedPixelFormats(handleType);
|
||||||
|
|
||||||
QCOMPARE(pixelFormats.contains(pixelFormat), QBool(supportedPixelFormat));
|
QCOMPARE(pixelFormats.contains(pixelFormat), supportedPixelFormat);
|
||||||
|
|
||||||
QVideoSurfaceFormat format(frameSize, pixelFormat, handleType);
|
QVideoSurfaceFormat format(frameSize, pixelFormat, handleType);
|
||||||
|
|
||||||
@@ -917,7 +917,7 @@ void tst_QPainterVideoSurface::shaderSupportedFormat()
|
|||||||
|
|
||||||
const QList<QVideoFrame::PixelFormat> pixelFormats = surface.supportedPixelFormats(handleType);
|
const QList<QVideoFrame::PixelFormat> pixelFormats = surface.supportedPixelFormats(handleType);
|
||||||
|
|
||||||
QCOMPARE(pixelFormats.contains(pixelFormat), QBool(supportedPixelFormat));
|
QCOMPARE(pixelFormats.contains(pixelFormat), supportedPixelFormat);
|
||||||
|
|
||||||
QVideoSurfaceFormat format(frameSize, pixelFormat, handleType);
|
QVideoSurfaceFormat format(frameSize, pixelFormat, handleType);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user