From: Montel Laurent Date: Tue, 4 Jun 2013 18:00:45 +0000 (+0200) Subject: const'ref X-Git-Url: https://git.sesse.net/?p=kdenlive;a=commitdiff_plain;h=71d67240d4760746acdaafa102c016069e7daf82 const'ref --- diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a18bfff2..f387927a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2264,7 +2264,7 @@ void MainWindow::doOpenFile(const KUrl &url, KAutoSaveFile *stale) if (openBackup) slotOpenBackupDialog(url); } -void MainWindow::recoverFiles(QList staleFiles, const KUrl &originUrl) +void MainWindow::recoverFiles(const QList &staleFiles, const KUrl &originUrl) { foreach(KAutoSaveFile * stale, staleFiles) { /*if (!stale->open(QIODevice::QIODevice::ReadOnly)) { diff --git a/src/mainwindow.h b/src/mainwindow.h index 4e0320ec..2324af53 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -279,7 +279,7 @@ private: void connectDocumentInfo(KdenliveDoc *doc); void findAhead(); void doOpenFile(const KUrl &url, KAutoSaveFile *stale); - void recoverFiles(QList staleFiles, const KUrl &originUrl); + void recoverFiles(const QList &staleFiles, const KUrl &originUrl); /** @brief Loads static and dynamic plugins. *