From: Rohan McGovern Date: Mon, 23 Jan 2012 00:07:58 +0000 (+1000) Subject: Fixed compile. X-Git-Tag: upstream/5.2.95+rc1~609 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0889d69790a1b723e9995fa6bdc61d825baf39ff;p=platform%2Fupstream%2Fqtmultimedia.git Fixed compile. Removed usage of QBool. Change-Id: I5e1db9cd3e833a196d73a3493967daa573200c77 Reviewed-by: Toby Tomkins --- diff --git a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp index 805264a..7107fa0 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);