From 25234702fe10bde5039a75fd4c8f2389e455f5fe Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 18 May 2023 22:04:30 +0200 Subject: [PATCH] Prepare libardour for FileArchive progress API update --- libs/ardour/session_state.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 654131876c..8d2bd28ebd 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -5552,11 +5552,6 @@ Session::save_as (SaveAs& saveas) return 0; } -static void set_progress (Progress* p, size_t n, size_t t) -{ - p->set_progress (float (n) / float(t)); -} - int Session::archive_session (const std::string& dest, const std::string& name, @@ -5624,9 +5619,6 @@ Session::archive_session (const std::string& dest, PBD::ScopedConnectionList progress_connection; PBD::FileArchive ar (archive); - if (progress) { - ar.progress.connect_same_thread (progress_connection, boost::bind (&set_progress, progress, _1, _2)); - } /* collect files to archive */ std::map filemap;