QtMultiMedia/Tests: Fix MSVC2012 warning about overload.
warning C4373: 'MockVideoSurface::supportedPixelFormats': virtual function overrides 'QAbstractVideoSurface::supportedPixelFormats', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers. Change-Id: I87701ce0a2db3d4a0ec0a98980ad231f352a2ab2 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
db4576fa02
commit
59e78d78c9
@@ -48,7 +48,7 @@ class MockVideoSurface : public QAbstractVideoSurface
|
||||
{
|
||||
public:
|
||||
QList<QVideoFrame::PixelFormat> supportedPixelFormats(
|
||||
const QAbstractVideoBuffer::HandleType) const
|
||||
QAbstractVideoBuffer::HandleType = QAbstractVideoBuffer::NoHandle) const
|
||||
{
|
||||
return QList<QVideoFrame::PixelFormat>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user