#include "pbd/abstract_ui.cc" /* instantiate the template */
MidiControlUI::MidiControlUI (Session& s)
- : AbstractUI<MidiUIRequest> (_("midiui"))
+ : AbstractUI<MidiUIRequest> (X_("midiui"))
, _session (s)
{
MIDI::Manager::instance()->PortsChanged.connect_same_thread (rebind_connection, boost::bind (&MidiControlUI::change_midi_ports, this));
} else if (req->type == CallSlot) {
- // req->the_slot ();
+#ifndef NDEBUG
+ if (getenv ("DEBUG_THREADED_SIGNALS")) {
+ cerr << "MIDI UI calls a slot\n";
+ }
+#endif
+
+ req->the_slot ();
} else if (req->type == Quit) {
for (MIDI::Manager::PortList::const_iterator i = plist->begin(); i != plist->end(); ++i) {
- cerr << "MIDI UI looking at port " << (*i)->name() << endl;
-
if (!(*i)->centrally_parsed()) {
continue;
}