From b46e8a26bb696f6ba4ef833a5e7f3ca658b0f344 Mon Sep 17 00:00:00 2001 From: Aron Bierbaum Date: Tue, 10 Sep 2019 22:38:56 -0500 Subject: [PATCH] Workaround compile error with SIP_OVERRIDE --- python/sip/QtAVWidgets/GLWidgetRenderer2.sip | 2 +- python/sip/QtAVWidgets/GraphicsItemRenderer.sip | 2 +- python/sip/QtAVWidgets/OpenGLWidgetRenderer.sip | 2 +- python/sip/QtAVWidgets/WidgetRenderer.sip | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/sip/QtAVWidgets/GLWidgetRenderer2.sip b/python/sip/QtAVWidgets/GLWidgetRenderer2.sip index 81bebe5e6..3f983d6d4 100644 --- a/python/sip/QtAVWidgets/GLWidgetRenderer2.sip +++ b/python/sip/QtAVWidgets/GLWidgetRenderer2.sip @@ -34,7 +34,7 @@ public: public: GLWidgetRenderer2(QWidget* parent /TransferThis/ = 0, const QGLWidget* shareWidget = 0, Qt::WindowFlags f = 0); - virtual VideoRendererId id(); + VideoRendererId id(); virtual QWidget* widget(); signals: diff --git a/python/sip/QtAVWidgets/GraphicsItemRenderer.sip b/python/sip/QtAVWidgets/GraphicsItemRenderer.sip index fbc520f52..75348448b 100644 --- a/python/sip/QtAVWidgets/GraphicsItemRenderer.sip +++ b/python/sip/QtAVWidgets/GraphicsItemRenderer.sip @@ -34,7 +34,7 @@ public: public: GraphicsItemRenderer(QGraphicsItem* parent /TransferThis/ = 0); - virtual VideoRendererId id(); + VideoRendererId id(); bool isSupported(VideoFormat::PixelFormat pixfmt); diff --git a/python/sip/QtAVWidgets/OpenGLWidgetRenderer.sip b/python/sip/QtAVWidgets/OpenGLWidgetRenderer.sip index 38844862d..aa9768a76 100644 --- a/python/sip/QtAVWidgets/OpenGLWidgetRenderer.sip +++ b/python/sip/QtAVWidgets/OpenGLWidgetRenderer.sip @@ -34,7 +34,7 @@ public: public: explicit OpenGLWidgetRenderer(QWidget* parent /TransferThis/ = 0, Qt::WindowFlags f = 0); - virtual VideoRendererId id(); + VideoRendererId id() const; virtual QWidget* widget(); signals: diff --git a/python/sip/QtAVWidgets/WidgetRenderer.sip b/python/sip/QtAVWidgets/WidgetRenderer.sip index 5f2561b93..b4d38583a 100644 --- a/python/sip/QtAVWidgets/WidgetRenderer.sip +++ b/python/sip/QtAVWidgets/WidgetRenderer.sip @@ -24,7 +24,7 @@ public: public: WidgetRenderer(QWidget* parent /TransferThis/ = 0, Qt::WindowFlags f = 0); - virtual VideoRendererId id(); + VideoRendererId id(); virtual QWidget* widget(); signals: