mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 05:36:31 +01:00
Change PBD::find_files_matching_regex and PBD::find_files_matching_filter to take a Searchpath
This commit is contained in:
parent
ce36eee9ab
commit
c126e8cc45
8 changed files with 17 additions and 23 deletions
|
|
@ -140,7 +140,7 @@ GenericMidiControlProtocol::reload_maps ()
|
|||
Searchpath spath (system_midi_map_search_path());
|
||||
spath += user_midi_map_directory ();
|
||||
|
||||
find_files_matching_filter (midi_maps, spath.to_string(), midi_map_filter, 0, false, true);
|
||||
find_files_matching_filter (midi_maps, spath, midi_map_filter, 0, false, true);
|
||||
|
||||
if (midi_maps.empty()) {
|
||||
cerr << "No MIDI maps found using " << spath.to_string() << endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue