]> git.sesse.net Git - kdenlive/commitdiff
Fix monitor id from last commit
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 6 Mar 2012 13:44:06 +0000 (14:44 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 6 Mar 2012 13:44:06 +0000 (14:44 +0100)
src/stopmotion/stopmotion.cpp

index 80e807d8684cb3fb85e38b80152ee4f7aaf17eed..2b49df755d3813326b19197eff0cecae165844ee 100644 (file)
@@ -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()) {