summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-19 17:50:15 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-19 17:50:15 +0200
commit65fd912c67ad76ad7ef6dee1ade7d76d26b08efd (patch)
treec9e3813e9de70d1074b9d042639e482ff3749b28 /src/mainwindow.cc
parentcddfe69635bcb66bc254d20f4973eeabb4061b7e (diff)
Add video device argument.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index a0a2986..e4df3f2 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -29,7 +29,8 @@
#include <QLabel>
#include <stdio.h>
-MainWindow::MainWindow()
+MainWindow::MainWindow(QString v4ldev)
+ : v4l(v4ldev)
{
connect(&v4l, SIGNAL(newImage(QImage)), this, SLOT(newImage(QImage)));
setCentralWidget(new QLabel());