]> git.sesse.net Git - kdenlive/commitdiff
const'ref
authorMontel Laurent <montel@kde.org>
Tue, 4 Jun 2013 18:02:20 +0000 (20:02 +0200)
committerMontel Laurent <montel@kde.org>
Tue, 4 Jun 2013 18:02:20 +0000 (20:02 +0200)
src/monitor.cpp
src/monitor.h

index cbd94d7e1c11d68359bb4405d8b543bf855036b9..0920da0a781ba1d289692ecc93ea7909b0cce1a1 100644 (file)
@@ -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;
index e0cc20f086b4eaea5b6dacb6717ab96496699d1e..40414dd70c43205efd54d40c8a95b2b164e51fd5 100644 (file)
@@ -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();