From 589f2a1ab83e4498920faa2f0ef37c1632eaf914 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 26 Oct 2015 13:35:45 -0400 Subject: 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. --- libs/ardour/globals.cc | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'libs/ardour/globals.cc') 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& files) -{ - vector 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::iterator x = found.begin(); x != found.end(); ++x) { - std::string path(*x); - pair namepath; - namepath.second = path; - namepath.first = PBD::basename_nosuffix (path); - files.insert (namepath); - } -} - bool ARDOUR::no_auto_connect() { -- cgit v1.2.3