Hide SoundCloud uploader in optimized builds until it's fixed
authorRobin Gareus <robin@gareus.org>
Sat, 18 Mar 2017 14:05:54 +0000 (15:05 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 18 Mar 2017 14:05:54 +0000 (15:05 +0100)
gtk2_ardour/export_file_notebook.cc

index a3af969740bb3a5535762b164b6c07aa36d8e8a3..deeeba8828d0c81c7d0820bd34c28ed4b3b1079e 100644 (file)
@@ -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 ();
 }