Fixed compile.

Removed usage of QBool.

Change-Id: I5e1db9cd3e833a196d73a3493967daa573200c77
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
This commit is contained in:
Rohan McGovern
2012-01-23 10:07:58 +10:00
committed by Qt by Nokia
parent a465e37bd6
commit 0889d69790

View File

@@ -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);