From c46ec135e57e4e71d3e296503ee61b4ea527b0eb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 8 May 2015 20:30:30 -0400 Subject: initial incorporation of Tracks' automatic reconnect features, based on current Tracks code --- libs/ardour/filesystem_paths.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs/ardour/filesystem_paths.cc') diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index 231bc84a3c..ecb75f7f69 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -49,6 +49,12 @@ user_config_directory_name (int version = -1) version = atoi (X_(PROGRAM_VERSION)); } +#ifdef USE_TRACKS_CODE_FEATURES + /* Tracks does not use versioned configuration folders, which may or + may not be problematic in the future. + */ + const string config_dir_name = X_(PROGRAM_NAME) +#else const string config_dir_name = string_compose ("%1%2", X_(PROGRAM_NAME), version); #if defined (__APPLE__) || defined (PLATFORM_WINDOWS) @@ -56,6 +62,7 @@ user_config_directory_name (int version = -1) #else return downcase (config_dir_name); #endif +#endif } std::string -- cgit v1.2.3