From: Jean-Baptiste Mardelle Date: Thu, 14 Oct 2010 23:28:58 +0000 (+0000) Subject: Correctly update monitors on clip property change X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f3686926ee3fd4dc63a68eac4d5454aa68396cba;p=kdenlive Correctly update monitors on clip property change svn path=/trunk/kdenlive/; revision=5005 --- diff --git a/src/monitor.cpp b/src/monitor.cpp index 366d0a2b..60a72c47 100644 --- a/src/monitor.cpp +++ b/src/monitor.cpp @@ -698,6 +698,13 @@ void Monitor::refreshMonitor(bool visible) } } +void Monitor::refreshMonitor() +{ + if (m_isActive) { + render->doRefresh(); + } +} + void Monitor::pause() { if (render == NULL) return; diff --git a/src/monitor.h b/src/monitor.h index c598dffc..0ee47787 100644 --- a/src/monitor.h +++ b/src/monitor.h @@ -162,7 +162,8 @@ private slots: public slots: void slotOpenFile(const QString &); void slotSetXml(DocClipBase *clip, QPoint zone = QPoint(), const int position = -1); - void refreshMonitor(bool visible = true); + void refreshMonitor(bool visible); + void refreshMonitor(); void slotSeek(int pos); void stop(); void start();