From 71d67240d4760746acdaafa102c016069e7daf82 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 4 Jun 2013 20:00:45 +0200 Subject: [PATCH] const'ref --- src/mainwindow.cpp | 2 +- src/mainwindow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. * -- 2.39.2