Found by cppcheck.
---
 src/dvdwizardchapters.cpp |    2 +-
 src/dvdwizardchapters.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dvdwizardchapters.cpp b/src/dvdwizardchapters.cpp
index 0804f5c..807e180 100644
--- a/src/dvdwizardchapters.cpp
+++ b/src/dvdwizardchapters.cpp
@@ -134,7 +134,7 @@ void DvdWizardChapters::slotGoToChapter()
     if (m_view.chapters_list->currentItem()) 
m_monitor->setTimePos(m_tc.reformatSeparators(m_view.chapters_list->currentItem()->text()
 + ":00"));
 }
 
-void DvdWizardChapters::setVobFiles(bool isPal, bool isWide, const QStringList 
movies, const QStringList durations, const QStringList chapters)
+void DvdWizardChapters::setVobFiles(bool isPal, bool isWide, const QStringList 
&movies, const QStringList &durations, const QStringList &chapters)
 {
     m_isPal = isPal;
     QString profile;
diff --git a/src/dvdwizardchapters.h b/src/dvdwizardchapters.h
index 620da01..515d942 100644
--- a/src/dvdwizardchapters.h
+++ b/src/dvdwizardchapters.h
@@ -39,7 +39,7 @@ public:
     virtual bool isComplete() const;
     void changeProfile(bool isPal);
     void setPal(bool isPal);
-    void setVobFiles(bool isPal, bool isWide, const QStringList movies, const 
QStringList durations, const QStringList chapters);
+    void setVobFiles(bool isPal, bool isWide, const QStringList &movies, const 
QStringList &durations, const QStringList &chapters);
     QStringList selectedTitles() const;
     QStringList selectedTargets() const;
     QStringList chapters(int ix) 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

Reply via email to