]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.h
fix coverity 1134134 1134135 (div by 0)
[kdenlive] / src / mainwindow.h
index ccd30fa89c133d211036e801928ca43d2b8f6d8b..2324af53e7efc067747ce8c3cf04e869895f23a9 100644 (file)
@@ -279,7 +279,7 @@ private:
     void connectDocumentInfo(KdenliveDoc *doc);
     void findAhead();
     void doOpenFile(const KUrl &url, KAutoSaveFile *stale);
-    void recoverFiles(QList<KAutoSaveFile *> staleFiles, const KUrl &originUrl);
+    void recoverFiles(const QList<KAutoSaveFile *> &staleFiles, const KUrl &originUrl);
 
     /** @brief Loads static and dynamic plugins.
      *
@@ -531,7 +531,7 @@ private slots:
     void slotUpdateCaptureFolder();
 
     /** @brief Apply new properties to a clip */
-    void slotApplyNewClipProperties(const QString id, QMap <QString, QString> props, QMap <QString, QString> newprops, bool refresh, bool reload);
+    void slotApplyNewClipProperties(const QString &id, const QMap <QString, QString> &props, const QMap <QString, QString> &newprops, bool refresh, bool reload);
 
     /** @brief Delete a clip from current project */
     void slotDeleteClip(const QString &id);