summaryrefslogtreecommitdiff
path: root/tests/auto/unit/qpaintervideosurface
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-01-23 10:07:58 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-23 01:29:56 +0100
commit0889d69790a1b723e9995fa6bdc61d825baf39ff (patch)
tree92dcbb124f3b8d1958f86449763d677db9633c71 /tests/auto/unit/qpaintervideosurface
parenta465e37bd6df3ea198158e57fdc4b82acc11a4b8 (diff)
downloadqtmultimedia-0889d69790a1b723e9995fa6bdc61d825baf39ff.tar.gz
Fixed compile.
Removed usage of QBool. Change-Id: I5e1db9cd3e833a196d73a3493967daa573200c77 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'tests/auto/unit/qpaintervideosurface')
-rw-r--r--tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp
index 805264afa..7107fa0f7 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<QVideoFrame::PixelFormat> 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<QVideoFrame::PixelFormat> pixelFormats = surface.supportedPixelFormats(handleType);
- QCOMPARE(pixelFormats.contains(pixelFormat), QBool(supportedPixelFormat));
+ QCOMPARE(pixelFormats.contains(pixelFormat), supportedPixelFormat);
QVideoSurfaceFormat format(frameSize, pixelFormat, handleType);