[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdenlive/v0.8.2] src: Fix clip monitor sometimes disconnected
From: Jean-Baptiste Mardelle <jb () kdenlive ! org>
Date: 2011-11-09 15:19:38
Message-ID: 20111109151938.3118AA60A6 () git ! kde ! org
[Download RAW message or body]
Git commit 750a6832064a6477b6743fd454723ed6c85fc71e by Jean-Baptiste Mardelle.
Committed on 09/11/2011 at 16:18.
Pushed by mardelle into branch 'v0.8.2'.
Fix clip monitor sometimes disconnected (timecode / ruler position not updated while playing)
M +1 -3 src/monitor.cpp
http://commits.kde.org/kdenlive/750a6832064a6477b6743fd454723ed6c85fc71e
diff --git a/src/monitor.cpp b/src/monitor.cpp
index 4e017b5..7d202c9 100644
--- a/src/monitor.cpp
+++ b/src/monitor.cpp
@@ -180,9 +180,9 @@ Monitor::Monitor(QString name, MonitorManager *manager, QString profile, QWidget
connect(m_ruler, SIGNAL(seekRenderer(int)), this, SLOT(slotSeek(int)));
connect(render, SIGNAL(durationChanged(int)), this, SLOT(adjustRulerSize(int)));
connect(render, SIGNAL(rendererStopped(int)), this, SLOT(rendererStopped(int)));
+ connect(render, SIGNAL(rendererPosition(int)), this, SLOT(seekCursor(int)));
if (name != "clip") {
- connect(render, SIGNAL(rendererPosition(int)), this, SIGNAL(renderPosition(int)));
connect(render, SIGNAL(durationChanged(int)), this, SIGNAL(durationChanged(int)));
connect(m_ruler, SIGNAL(zoneChanged(QPoint)), this, SIGNAL(zoneUpdated(QPoint)));
} else {
@@ -733,7 +733,6 @@ void Monitor::adjustRulerSize(int length)
void Monitor::stop()
{
- disconnect(render, SIGNAL(rendererPosition(int)), this, SLOT(seekCursor(int)));
if (render) render->stop();
}
@@ -741,7 +740,6 @@ void Monitor::start()
{
if (!isVisible()) return;
if (render) render->start();
- connect(render, SIGNAL(rendererPosition(int)), this, SLOT(seekCursor(int)));
}
void Monitor::refreshMonitor(bool visible)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic