From 3bf409652cb9ccc5bc37cff881d981a2acce013b Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 4 Jun 2013 20:02:20 +0200 Subject: [PATCH] const'ref --- src/monitor.cpp | 2 +- src/monitor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2