summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_file_notebook.cc
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2014-05-27 11:23:47 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2014-06-12 23:20:05 +0100
commitf0dbd6c0855e76a87d97a1774f2e97a5b9211ae6 (patch)
tree77e674a99948d374712f75e7edcac5d7d5469627 /gtk2_ardour/export_file_notebook.cc
parent70308f51747b5beeff99dec9f10490080f00b0c2 (diff)
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.
Diffstat (limited to 'gtk2_ardour/export_file_notebook.cc')
-rw-r--r--gtk2_ardour/export_file_notebook.cc11
1 files changed, 3 insertions, 8 deletions
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<FilePage *> (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;