diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-05-06 18:03:15 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-05-07 07:03:46 +0000 |
commit | 528e071b91020b941e2818ca161f03c95d50b226 (patch) | |
tree | 26ed8f791b8f554359619a0d6462ce3b50e36202 | |
parent | 9916a42d1c4405af688b4b834500501323bc5ae3 (diff) |
Make getter const
Change-Id: I905baa8b52b4155baa91c9c565aaa3b70d03ea28
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r-- | src/multimedia/video/qvideosink.cpp | 2 | ||||
-rw-r--r-- | src/multimedia/video/qvideosink.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/video/qvideosink.cpp b/src/multimedia/video/qvideosink.cpp index 47ebd3033..c7b336764 100644 --- a/src/multimedia/video/qvideosink.cpp +++ b/src/multimedia/video/qvideosink.cpp @@ -369,7 +369,7 @@ void QVideoSink::paint(QPainter *painter, const QVideoFrame &f) } } -QPlatformVideoSink *QVideoSink::platformVideoSink() +QPlatformVideoSink *QVideoSink::platformVideoSink() const { return d->videoSink; } diff --git a/src/multimedia/video/qvideosink.h b/src/multimedia/video/qvideosink.h index 1fa308266..7802c32ed 100644 --- a/src/multimedia/video/qvideosink.h +++ b/src/multimedia/video/qvideosink.h @@ -94,7 +94,7 @@ public: void paint(QPainter *painter, const QVideoFrame &frame); - QPlatformVideoSink *platformVideoSink(); + QPlatformVideoSink *platformVideoSink() const; QSize videoSize() const; Q_SIGNALS: |