summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
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());