From: Jean-Baptiste Mardelle Date: Tue, 6 Mar 2012 13:44:06 +0000 (+0100) Subject: Fix monitor id from last commit X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=289cf74883468e88fca42f08dc69014543eeae9b;p=kdenlive Fix monitor id from last commit --- 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()) {