diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-18 15:05:54 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-18 15:05:54 +0100 |
commit | 9c016c619fc0c267f5d08d5bb0dd05b23ffbad6b (patch) | |
tree | efbc78a2a8e6f64ff9bd052bc62ee167c2bc63d7 /gtk2_ardour/export_file_notebook.cc | |
parent | bc300ddab733bb15b09d9341e75655d68fbd937e (diff) |
Hide SoundCloud uploader in optimized builds until it's fixed
Diffstat (limited to 'gtk2_ardour/export_file_notebook.cc')
-rw-r--r-- | gtk2_ardour/export_file_notebook.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/export_file_notebook.cc b/gtk2_ardour/export_file_notebook.cc index a3af969740..deeeba8828 100644 --- a/gtk2_ardour/export_file_notebook.cc +++ b/gtk2_ardour/export_file_notebook.cc @@ -217,7 +217,9 @@ ExportFileNotebook::FilePage::FilePage (Session * s, ManagerPtr profile_manager, Gtk::HBox *hbox = Gtk::manage (new Gtk::HBox()); hbox->set_spacing (6); +#ifndef NDEBUG // SoundCloud upload is currently b0rked, needs debugging hbox->pack_start (soundcloud_upload_button, false, false, 0); +#endif hbox->pack_start (analysis_button, false, false, 0); pack_start (*hbox, false, false, 0); @@ -298,6 +300,9 @@ ExportFileNotebook::FilePage::get_format_name () const bool ExportFileNotebook::FilePage::get_soundcloud_upload () const { +#ifdef NDEBUG // SoundCloud upload is currently b0rked, needs debugging + return false; +#endif return soundcloud_upload_button.get_active (); } |