From 9c016c619fc0c267f5d08d5bb0dd05b23ffbad6b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 18 Mar 2017 15:05:54 +0100 Subject: Hide SoundCloud uploader in optimized builds until it's fixed --- gtk2_ardour/export_file_notebook.cc | 5 +++++ 1 file changed, 5 insertions(+) (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 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 (); } -- cgit v1.2.3