]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackedit.cpp
Fix memory leak. Minor optimization
[kdenlive] / src / effectstackedit.cpp
index 76abe7a29242e72c5ae2c7301824b401656dd3f5..431c2c52930b87ca540c49f1f4ed4652c8984026 100644 (file)
@@ -69,13 +69,13 @@ Monitor *EffectStackEdit::monitor()
     return m_metaInfo.monitor;
 }
 
-void EffectStackEdit::updateProjectFormat(MltVideoProfile profile, Timecode t)
+void EffectStackEdit::updateProjectFormat(const MltVideoProfile &profile, const Timecode &t)
 {
     m_metaInfo.profile = profile;
     m_metaInfo.timecode = t;
 }
 
-void EffectStackEdit::setFrameSize(QPoint p)
+void EffectStackEdit::setFrameSize(const QPoint &p)
 {
     m_metaInfo.frameSize = p;
 }
@@ -190,3 +190,5 @@ void EffectStackEdit::setKeyframes(const QString &data, int maximum)
     m_paramWidget->setKeyframes(data, maximum);
 }
 
+
+#include "effectstackedit.moc"