From 9478c9540beca9bbfb31ba803bfd2eb332121860 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Fri, 9 Sep 2011 23:41:33 +0000 Subject: [PATCH] cppcheck fixes, patch by Mikko Rapeli [9/27] svn path=/trunk/kdenlive/; revision=5882 --- 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 0804f5cb..807e1803 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 620da014..515d9425 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; -- 2.39.2