Update GUI, use new Archive progress API

This commit is contained in:
Robin Gareus 2023-05-19 00:19:04 +02:00
parent c9929698ee
commit 56176bb627
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 6 additions and 6 deletions

View file

@ -555,7 +555,7 @@ TemplateManager::export_all_templates ()
_current_action = _("Exporting templates");
PBD::FileArchive ar (filename);
PBD::FileArchive ar (filename, this);
PBD::ScopedConnectionList progress_connection;
ar.create (filemap);
@ -583,7 +583,7 @@ TemplateManager::import_template_set ()
_current_action = _("Importing templates");
FileArchive ar (dialog.get_filename ());
FileArchive ar (dialog.get_filename (), this);
PBD::ScopedConnectionList progress_connection;
for (std::string fn = ar.next_file_name(); !fn.empty(); fn = ar.next_file_name()) {