]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.cpp
const'ref
[kdenlive] / src / mainwindow.cpp
index a18bfff242f55914062cbb31ec23935d497182b2..f387927a229a6b43d8369d4f2d58a04b47f8f694 100644 (file)
@@ -2264,7 +2264,7 @@ void MainWindow::doOpenFile(const KUrl &url, KAutoSaveFile *stale)
     if (openBackup) slotOpenBackupDialog(url);
 }
 
-void MainWindow::recoverFiles(QList<KAutoSaveFile *> staleFiles, const KUrl &originUrl)
+void MainWindow::recoverFiles(const QList<KAutoSaveFile *> &staleFiles, const KUrl &originUrl)
 {
     foreach(KAutoSaveFile * stale, staleFiles) {
         /*if (!stale->open(QIODevice::QIODevice::ReadOnly)) {