diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-26 13:35:45 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:24 -0500 |
commit | 589f2a1ab83e4498920faa2f0ef37c1632eaf914 (patch) | |
tree | e49066b419b9d65e889093dc87f68a2ec6c3f7d9 /libs/ardour/globals.cc | |
parent | 9b9a7beb130d183fc08a57927a3eaf4441be6809 (diff) |
change suffix of keybinding files to ".keys" to avoid conflict with earlier versions.
Move some code around that should never have been inside libs/ardour to begin with.
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 9f4a1399b3..e68e6f08e3 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -80,7 +80,6 @@ #include "pbd/fpu.h" #include "pbd/file_utils.h" #include "pbd/enumwriter.h" -#include "pbd/basename.h" #include "midi++/port.h" #include "midi++/mmc.h" @@ -608,31 +607,6 @@ ARDOUR::cleanup () return; } -void -ARDOUR::find_bindings_files (map<string,string>& files) -{ - vector<std::string> found; - Searchpath spath = ardour_config_search_path(); - - if (getenv ("ARDOUR_SAE")) { - find_files_matching_pattern (found, spath, "*SAE-*.bindings"); - } else { - find_files_matching_pattern (found, spath, "*.bindings"); - } - - if (found.empty()) { - return; - } - - for (vector<std::string>::iterator x = found.begin(); x != found.end(); ++x) { - std::string path(*x); - pair<string,string> namepath; - namepath.second = path; - namepath.first = PBD::basename_nosuffix (path); - files.insert (namepath); - } -} - bool ARDOUR::no_auto_connect() { |