From 4f38f950b0e4b0637a2a267638496a44456ae456 Mon Sep 17 00:00:00 2001 From: Michael Goddard Date: Tue, 14 Feb 2012 10:56:04 +1000 Subject: Fix some compiler warnings. As it turns out, we had an overloaded virtual from an earlier era, with the extra parameter never used. So cleaning that up was a bonus to remove the compiler warning. Change-Id: I780287f8a5d2b0a1ec84ec62c88ba50e051f372b Reviewed-by: Jonas Rabbe --- src/multimediawidgets/qpaintervideosurface_p.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/multimediawidgets/qpaintervideosurface_p.h') diff --git a/src/multimediawidgets/qpaintervideosurface_p.h b/src/multimediawidgets/qpaintervideosurface_p.h index 57d4bb69a..341f940e3 100644 --- a/src/multimediawidgets/qpaintervideosurface_p.h +++ b/src/multimediawidgets/qpaintervideosurface_p.h @@ -82,8 +82,7 @@ public: virtual QList supportedPixelFormats( QAbstractVideoBuffer::HandleType handleType) const = 0; - virtual bool isFormatSupported( - const QVideoSurfaceFormat &format, QVideoSurfaceFormat *similar) const = 0; + virtual bool isFormatSupported(const QVideoSurfaceFormat &format) const = 0; virtual QAbstractVideoSurface::Error start(const QVideoSurfaceFormat &format) = 0; virtual void stop() = 0; @@ -108,8 +107,7 @@ public: QList supportedPixelFormats( QAbstractVideoBuffer::HandleType handleType = QAbstractVideoBuffer::NoHandle) const; - bool isFormatSupported( - const QVideoSurfaceFormat &format, QVideoSurfaceFormat *similar = 0) const; + bool isFormatSupported(const QVideoSurfaceFormat &format) const; bool start(const QVideoSurfaceFormat &format); void stop(); -- cgit v1.2.3