From e400c045bd99be7115db201a664c7b646e7fcf09 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Fri, 9 Sep 2011 23:56:36 +0000 Subject: [PATCH] cppcheck fixes, patch by Mikko Rapeli [19/27] svn path=/trunk/kdenlive/; revision=5893 --- src/mltdevicecapture.cpp | 2 +- src/mltdevicecapture.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mltdevicecapture.cpp b/src/mltdevicecapture.cpp index 7998aa2d..a60f34af 100644 --- a/src/mltdevicecapture.cpp +++ b/src/mltdevicecapture.cpp @@ -504,7 +504,7 @@ void MltDeviceCapture::setOverlay(const QString &path) //delete clip; } -void MltDeviceCapture::setOverlayEffect(const QString tag, QStringList parameters) +void MltDeviceCapture::setOverlayEffect(const QString &tag, QStringList parameters) { if (m_mltProducer == NULL || !m_mltProducer->is_valid()) return; Mlt::Service service(m_mltProducer->parent().get_service()); diff --git a/src/mltdevicecapture.h b/src/mltdevicecapture.h index 30d695c3..7ba44c2c 100644 --- a/src/mltdevicecapture.h +++ b/src/mltdevicecapture.h @@ -89,7 +89,7 @@ Q_OBJECT public: void setOverlay(const QString &path); /** @brief This will add an MLT video effect to the overlay track. */ - void setOverlayEffect(const QString tag, QStringList parameters); + void setOverlayEffect(const QString &tag, QStringList parameters); /** @brief This will add a horizontal flip effect, easier to work when filming yourself. */ void mirror(bool activate); -- 2.39.2