]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/stopmotion.cpp
Use enum instead of string to identify monitors
[kdenlive] / src / stopmotion / stopmotion.cpp
index 2b49df755d3813326b19197eff0cecae165844ee..d858410c03ef6bf471f7f72eb98cee3887285f65 100644 (file)
@@ -16,7 +16,6 @@
  ***************************************************************************/
 
 #include "stopmotion.h"
-#include "definitions.h"
 #ifdef USE_BLACKMAGIC
 #include "blackmagic/devices.h"
 #endif
@@ -95,7 +94,7 @@ void MyLabel::paintEvent(QPaintEvent* event)
 
 
 StopmotionMonitor::StopmotionMonitor(QWidget *parent) :
-    AbstractMonitor(parent),
+    AbstractMonitor(Kdenlive::stopmotionMonitor, parent),
     m_captureDevice(NULL)
 {
 }
@@ -114,7 +113,7 @@ AbstractRender *StopmotionMonitor::abstractRender()
     return m_captureDevice;
 }
 
-const QString StopmotionMonitor::name() const
+Kdenlive::MONITORID StopmotionMonitor::id() const
 {
     return Kdenlive::stopmotionMonitor;
 }