]> git.sesse.net Git - kdenlive/commitdiff
Fix compilation
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 17 Oct 2010 22:23:38 +0000 (22:23 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 17 Oct 2010 22:23:38 +0000 (22:23 +0000)
svn path=/trunk/kdenlive/; revision=5020

src/recmonitor.cpp

index b5dac1600e83596dfbc77a7cb5013c37746161df..bb1115ec63cda19b8c7db36083e27a549d4858d7 100644 (file)
@@ -60,7 +60,7 @@ RecMonitor::RecMonitor(QString name, QWidget *parent) :
     device_selector->setCurrentIndex(KdenliveSettings::defaultcapture());
     connect(device_selector, SIGNAL(currentIndexChanged(int)), this, SLOT(slotVideoDeviceChanged(int)));
 
-    QToolBar *toolbar = new QToolBar(name, this);
+    QToolBar *toolbar = new QToolBar(this);
     QHBoxLayout *layout = new QHBoxLayout;
     layout->setContentsMargins(0, 0, 0, 0);
     m_playIcon = KIcon("media-playback-start");
@@ -274,7 +274,7 @@ void RecMonitor::createHDMIDevice()
        //video_capture->setVisible(true);
        if (m_bmCapture == NULL) {
            QVBoxLayout *lay = new QVBoxLayout;
-           m_bmCapture = new CaptureHandler(lay);
+           m_bmCapture = new BmdCaptureHandler(lay);
            connect(m_bmCapture, SIGNAL(gotTimeCode(ulong)), this, SLOT(slotGotHDMIFrameNumber(ulong)));
            connect(m_bmCapture, SIGNAL(gotMessage(const QString &)), this, SLOT(slotGotHDMIMessage(const QString &)));
            video_capture->setLayout(lay);