From 289cf74883468e88fca42f08dc69014543eeae9b Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Tue, 6 Mar 2012 14:44:06 +0100 Subject: [PATCH] Fix monitor id from last commit --- src/stopmotion/stopmotion.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/stopmotion/stopmotion.cpp b/src/stopmotion/stopmotion.cpp index 80e807d8..2b49df75 100644 --- a/src/stopmotion/stopmotion.cpp +++ b/src/stopmotion/stopmotion.cpp @@ -16,6 +16,7 @@ ***************************************************************************/ #include "stopmotion.h" +#include "definitions.h" #ifdef USE_BLACKMAGIC #include "blackmagic/devices.h" #endif @@ -115,7 +116,7 @@ AbstractRender *StopmotionMonitor::abstractRender() const QString StopmotionMonitor::name() const { - return QString("stopmotion"); + return Kdenlive::stopmotionMonitor; } @@ -493,7 +494,7 @@ void StopmotionWidget::slotLive(bool isOn) connect(m_captureDevice, SIGNAL(frameSaved(const QString &)), this, SLOT(slotNewThumb(const QString &))); } - m_manager->activateMonitor("stopmotion"); + m_manager->activateMonitor(Kdenlive::stopmotionMonitor); QString producer = createProducer(profile, service, resource); if (m_captureDevice->slotStartPreview(producer, true)) { if (m_showOverlay->isChecked()) { -- 2.39.2