From: Montel Laurent Date: Tue, 4 Jun 2013 18:02:20 +0000 (+0200) Subject: const'ref X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3bf409652cb9ccc5bc37cff881d981a2acce013b;p=kdenlive const'ref --- diff --git a/src/monitor.cpp b/src/monitor.cpp index cbd94d7e..0920da0a 100644 --- a/src/monitor.cpp +++ b/src/monitor.cpp @@ -932,7 +932,7 @@ void Monitor::slotSaveZone() //render->setSceneList(doc, 0); } -void Monitor::setCustomProfile(const QString &profile, Timecode tc) +void Monitor::setCustomProfile(const QString &profile, const Timecode &tc) { m_timePos->updateTimeCode(tc); if (render == NULL) return; diff --git a/src/monitor.h b/src/monitor.h index e0cc20f0..40414dd7 100644 --- a/src/monitor.h +++ b/src/monitor.h @@ -73,7 +73,7 @@ public: Render *render; AbstractRender *abstractRender(); void resetProfile(const QString &profile); - void setCustomProfile(const QString &profile, Timecode tc); + void setCustomProfile(const QString &profile, const Timecode &tc); void resetSize(); void pause(); void unpause();