Found by cppcheck. --- src/recmonitor.cpp | 4 ++-- src/recmonitor.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/recmonitor.cpp b/src/recmonitor.cpp index 41ea650..0ace145 100644 --- a/src/recmonitor.cpp +++ b/src/recmonitor.cpp @@ -192,7 +192,7 @@ void RecMonitor::slotConfigure() emit showConfigDialog(4, device_selector->currentIndex()); } -void RecMonitor::slotUpdateCaptureFolder(const QString currentProjectFolder) +void RecMonitor::slotUpdateCaptureFolder(const QString ¤tProjectFolder) { if (KdenliveSettings::capturetoprojectfolder()) m_capturePath = currentProjectFolder; else m_capturePath = KdenliveSettings::capturefolder(); @@ -305,7 +305,7 @@ void RecMonitor::slotSetInfoMessage(const QString &message) m_logger.insertItem(0, message); } -QPixmap RecMonitor::mergeSideBySide(const QPixmap& pix, const QString txt) +QPixmap RecMonitor::mergeSideBySide(const QPixmap& pix, const QString &txt) { QPainter p; QRect r = QApplication::fontMetrics().boundingRect(QRect(0, 0, video_frame->width(), video_frame->height()), Qt::AlignLeft, txt); diff --git a/src/recmonitor.h b/src/recmonitor.h index d9bd734..12056d7 100644 --- a/src/recmonitor.h +++ b/src/recmonitor.h @@ -105,7 +105,7 @@ private: VideoPreviewContainer *m_videoBox; bool m_analyse; void checkDeviceAvailability(); - QPixmap mergeSideBySide(const QPixmap& pix, const QString txt); + QPixmap mergeSideBySide(const QPixmap& pix, const QString &txt); void manageCapturedFiles(); /** @brief Build MLT producer for device, using path as profile. */ void buildMltDevice(const QString &path); @@ -133,7 +133,7 @@ public slots: void stop(); void start(); void slotStopCapture(); - void slotUpdateCaptureFolder(const QString currentProjectFolder); + void slotUpdateCaptureFolder(const QString ¤tProjectFolder); signals: void renderPosition(int); -- 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 Kdenlive-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kdenlive-devel