From f0dbd6c0855e76a87d97a1774f2e97a5b9211ae6 Mon Sep 17 00:00:00 2001 From: Colin Fletcher Date: Tue, 27 May 2014 11:23:47 +0100 Subject: Export dialog: tidy code, & remove some superfluous debug output Remove some debug output, tidy up a few whitespace inconsistencies, use DEBUG::Soundcloud in one more place, and zap a couple of unused variables. --- gtk2_ardour/export_file_notebook.cc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gtk2_ardour/export_file_notebook.cc') diff --git a/gtk2_ardour/export_file_notebook.cc b/gtk2_ardour/export_file_notebook.cc index 00e2687251..b34d3aab09 100644 --- a/gtk2_ardour/export_file_notebook.cc +++ b/gtk2_ardour/export_file_notebook.cc @@ -91,7 +91,7 @@ ExportFileNotebook::sync_with_manager () } void -ExportFileNotebook::update_soundcloud_upload() +ExportFileNotebook::update_soundcloud_upload () { int i; ExportProfileManager::FormatStateList const & formats = profile_manager->get_formats (); @@ -99,19 +99,14 @@ ExportFileNotebook::update_soundcloud_upload() for (i = 0, format_it = formats.begin(); format_it != formats.end(); ++i, ++format_it) { FilePage * page; - std::cerr << "get_nth_soundcloud_upload " << i << std::endl; if ((page = dynamic_cast (get_nth_page (i)))) { - (*format_it)->format->set_soundcloud_upload( page->get_soundcloud_upload () ); - // profile_manager->soundcloud_upload_list.push_back (page->get_soundcloud_upload () ); - } else { - std::cerr << "not a page!" << std::endl; + (*format_it)->format->set_soundcloud_upload (page->get_soundcloud_upload ()); } } - } void -ExportFileNotebook::update_example_filenames() +ExportFileNotebook::update_example_filenames () { int i = 0; FilePage * page; -- cgit v1.2.3