summaryrefslogtreecommitdiffstats
path: root/src/gsttools/qgstreamervideowidget.cpp
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-13 14:11:09 +0300
committerYoann Lopes <yoann.lopes@qt.io>2016-12-13 13:40:52 +0000
commitc6811366271a47c0de3e4bb92739773856388b3e (patch)
tree5426652c0db7cb78500cf09c6bf56b420734d013 /src/gsttools/qgstreamervideowidget.cpp
parent0bae6b50dd1b654a218fe687ba6498f12e049337 (diff)
GStreamer: Add missing override and remove redundant virtual
Change-Id: I61997676d7f002e769de499b19cbea3d96876480 Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/gsttools/qgstreamervideowidget.cpp')
-rw-r--r--src/gsttools/qgstreamervideowidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsttools/qgstreamervideowidget.cpp b/src/gsttools/qgstreamervideowidget.cpp
index 67f9a8fa..792df424 100644
--- a/src/gsttools/qgstreamervideowidget.cpp
+++ b/src/gsttools/qgstreamervideowidget.cpp
@@ -59,7 +59,7 @@ public:
virtual ~QGstreamerVideoWidget() {}
- QSize sizeHint() const
+ QSize sizeHint() const override
{
return m_nativeSize;
}
@@ -84,7 +84,7 @@ public:
}
protected:
- void paintEvent(QPaintEvent *)
+ void paintEvent(QPaintEvent *) override
{
paint_helper();
}