Found by cppcheck.
---
src/docclipbase.h | 4 ++--
src/projectlist.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/docclipbase.h b/src/docclipbase.h
index 95e0b6b..b23945d 100644
--- a/src/docclipbase.h
+++ b/src/docclipbase.h
@@ -278,9 +278,9 @@ public slots:
signals:
void gotAudioData();
/** @brief Generate a proxy clip (lower resolution copy) named like the
clip's hash. */
- void createProxy(const QString id);
+ void createProxy(const QString &id);
/** @brief Abort creation of the proxy clip (lower resolution copy). */
- void abortProxy(const QString id, const QString proxyPath);
+ void abortProxy(const QString &id, const QString &proxyPath);
};
#endif
diff --git a/src/projectlist.cpp b/src/projectlist.cpp
index ab15315..69af733 100644
--- a/src/projectlist.cpp
+++ b/src/projectlist.cpp
@@ -1018,8 +1018,8 @@ void ProjectList::slotAddClip(DocClipBase *clip, bool
getProperties)
item = new ProjectItem(m_listView, clip);
}
if (item->data(0, DurationRole).isNull()) item->setData(0, DurationRole,
i18n("Loading"));
- connect(clip, SIGNAL(createProxy(const QString)), this,
SLOT(slotCreateProxy(const QString)));
- connect(clip, SIGNAL(abortProxy(const QString, const QString)), this,
SLOT(slotAbortProxy(const QString, const QString)));
+ connect(clip, SIGNAL(createProxy(const QString &)), this,
SLOT(slotCreateProxy(const QString &)));
+ connect(clip, SIGNAL(abortProxy(const QString &, const QString &)), this,
SLOT(slotAbortProxy(const QString, const QString)));
if (getProperties) {
m_listView->processLayout();
QDomElement e = clip->toXML().cloneNode().toElement();
--
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