summaryrefslogtreecommitdiff
path: root/libs/ardour/filesystem_paths.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-08 20:30:30 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:11 -0400
commitc46ec135e57e4e71d3e296503ee61b4ea527b0eb (patch)
tree3a0770c7c37d780895772b2f9bf31ffb955b4d71 /libs/ardour/filesystem_paths.cc
parentde4efe73a67f61b56eaab18165bcab71f7fcd20b (diff)
initial incorporation of Tracks' automatic reconnect features, based on current Tracks code
Diffstat (limited to 'libs/ardour/filesystem_paths.cc')
-rw-r--r--libs/ardour/filesystem_paths.cc7
1 files changed, 7 insertions, 0 deletions
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