Found by cppcheck.
---
src/renderwidget.cpp | 2 +-
src/renderwidget.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/renderwidget.cpp b/src/renderwidget.cpp
index e4b6b9e..6136857 100644
--- a/src/renderwidget.cpp
+++ b/src/renderwidget.cpp
@@ -252,7 +252,7 @@ void RenderWidget::showInfoPanel()
}
}
-void RenderWidget::setDocumentPath(const QString path)
+void RenderWidget::setDocumentPath(const QString &path)
{
if (m_view.out_file->url().directory() ==
KUrl(m_projectFolder).directory()) {
const QString fileName = m_view.out_file->url().fileName();
diff --git a/src/renderwidget.h b/src/renderwidget.h
index de2a370..6dd8ac4 100644
--- a/src/renderwidget.h
+++ b/src/renderwidget.h
@@ -116,7 +116,7 @@ public:
void setProfile(MltVideoProfile profile);
void setRenderJob(const QString &dest, int progress = 0);
void setRenderStatus(const QString &dest, int status, const QString
&error);
- void setDocumentPath(const QString path);
+ void setDocumentPath(const QString &path);
void reloadProfiles();
void setRenderProfile(QMap <QString, QString> props);
int waitingJobsCount() const;
--
1.7.5.4
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel