From 0889d69790a1b723e9995fa6bdc61d825baf39ff Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Mon, 23 Jan 2012 10:07:58 +1000 Subject: [PATCH] Fixed compile. Removed usage of QBool. Change-Id: I5e1db9cd3e833a196d73a3493967daa573200c77 Reviewed-by: Toby Tomkins --- .../unit/qpaintervideosurface/tst_qpaintervideosurface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp index 805264af..7107fa0f 100644 --- a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp +++ b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp @@ -353,7 +353,7 @@ void tst_QPainterVideoSurface::supportedFormat() const QList pixelFormats = surface.supportedPixelFormats(handleType); - QCOMPARE(pixelFormats.contains(pixelFormat), QBool(supportedPixelFormat)); + QCOMPARE(pixelFormats.contains(pixelFormat), supportedPixelFormat); QVideoSurfaceFormat format(frameSize, pixelFormat, handleType); @@ -917,7 +917,7 @@ void tst_QPainterVideoSurface::shaderSupportedFormat() const QList pixelFormats = surface.supportedPixelFormats(handleType); - QCOMPARE(pixelFormats.contains(pixelFormat), QBool(supportedPixelFormat)); + QCOMPARE(pixelFormats.contains(pixelFormat), supportedPixelFormat); QVideoSurfaceFormat format(frameSize, pixelFormat, handleType);