This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: qvidcap: add parent when creating QAction objects.
Author:  Hans Verkuil <hans.verk...@cisco.com>
Date:    Sun Oct 7 10:40:17 2018 +0200

The QAction constructor has a parent pointer which is optional in
Qt >= 5.7. In order to compile under older Qt versions set the parent
explicitly.

Based on a patch from Gregor Jasny <gja...@googlemail.com>.

Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
Suggested-by: Gregor Jasny <gja...@googlemail.com>
(cherry picked from commit 5287fcd5259bf096564fad68d1f26a0d9c373b72)

 utils/qvidcap/capture-win-gl.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=8500bd2ef75fc493d55f96fd8764e3994a7d6704
diff --git a/utils/qvidcap/capture-win-gl.cpp b/utils/qvidcap/capture-win-gl.cpp
index c415f9a9febe..224c13405c5a 100644
--- a/utils/qvidcap/capture-win-gl.cpp
+++ b/utils/qvidcap/capture-win-gl.cpp
@@ -277,16 +277,16 @@ CaptureGLWin::CaptureGLWin(QScrollArea *sa, QWidget 
*parent) :
        addSubMenuItem(grp, menu, "Window Scrollbars", 
CAPTURE_GL_WIN_SCROLLBAR)->setChecked(false);
        connect(grp, SIGNAL(triggered(QAction *)), this, 
SLOT(windowScalingChanged(QAction *)));
 
-       m_resolutionOverride = new QAction("Override resolution");
+       m_resolutionOverride = new QAction("Override resolution", this);
        m_resolutionOverride->setCheckable(true);
        connect(m_resolutionOverride, SIGNAL(triggered(bool)),
                this, SLOT(resolutionOverrideChanged(bool)));
 
-       m_enterFullScreen = new QAction("Enter fullscreen (F)");
+       m_enterFullScreen = new QAction("Enter fullscreen (F)", this);
        connect(m_enterFullScreen, SIGNAL(triggered(bool)),
                this, SLOT(toggleFullScreen(bool)));
 
-       m_exitFullScreen = new QAction("Exit fullscreen (F or Esc)");
+       m_exitFullScreen = new QAction("Exit fullscreen (F or Esc)", this);
        connect(m_exitFullScreen, SIGNAL(triggered(bool)),
                this, SLOT(toggleFullScreen(bool)));
 }

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to