]> git.sesse.net Git - kdenlive/blobdiff - src/monitor.cpp
start/endviewport not setup'able
[kdenlive] / src / monitor.cpp
index 563c6557290575dea49e90d4f5569f27264b46df..4a432208b8c30040ea49d10527ccdb7bfc161fd6 100644 (file)
@@ -55,7 +55,10 @@ Monitor::Monitor(QString name, MonitorManager *manager, QWidget *parent)
   connect(render, SIGNAL(playListDuration(int)), this, SLOT(adjustRulerSize(int)));
   connect(render, SIGNAL(rendererPosition(int)), this, SLOT(seekCursor(int)));
   connect(render, SIGNAL(rendererStopped(int)), this, SLOT(rendererStopped(int)));
-  if (name != "clip") connect(render, SIGNAL(rendererPosition(int)), this, SIGNAL(renderPosition(int)));
+  if (name != "clip") {
+    connect(render, SIGNAL(rendererPosition(int)), this, SIGNAL(renderPosition(int)));
+    connect(render, SIGNAL(durationChanged(int)), this, SIGNAL(durationChanged(int)));
+  }
   //render->createVideoXWindow(ui.video_frame->winId(), -1);
   int width = m_ruler->width();
   m_ruler->setLength(width);