From 1fb5c05624152a4e082b1cb167c3a8418486a864 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 26 May 2018 21:15:28 +0200 Subject: cv/video-property-page: fix qv4l2 invocation for Linux #726 Submitted-by: Artem Sobolev --- cv/video-property-page.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv/video-property-page.cpp b/cv/video-property-page.cpp index a711e6af..0d2b7458 100644 --- a/cv/video-property-page.cpp +++ b/cv/video-property-page.cpp @@ -153,7 +153,7 @@ bool video_property_page::show(int idx) const QList camera_names(get_camera_names()); if (idx >= 0 && idx < camera_names.size()) - return QProcess::startDetached("qv4l2", QStringList() << "-d" << camera_names[idx]); + return QProcess::startDetached("qv4l2", QStringList { "-d", QString("/dev/video%1").arg(idx) }); else return false; } -- cgit v1.2.3