Structure MIDI device selector by manufacturer.
[ardour.git] / gtk2_ardour / patch_change_dialog.cc
index 081604344cb971430eb4fe4acbde78b200bdd63c..23941e1545f855c2cf6ad7010eaa45e903511945 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "midi++/midnam_patch.h"
 
-#include "ardour/midi_patch_manager.h"
 #include "ardour/beats_frames_converter.h"
 #include "ardour/instrument_info.h"
 
@@ -143,7 +142,7 @@ PatchChangeDialog::instrument_info_changed ()
 Evoral::PatchChange<Evoral::MusicalTime>
 PatchChangeDialog::patch () const
 {
-       Evoral::MusicalTime t = 0;
+       Evoral::MusicalTime t = Evoral::MusicalTime();
 
        if (_time_converter) {
                t = _time_converter->from (_time.current_time ());