Use ARDOUR::user_config_directory in ARDOUR::user_template_directory
git-svn-id: svn://localhost/ardour2/trunk@2042 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8d88671178
commit
283e8f211f
@ -4,6 +4,7 @@
|
||||
#include <ardour/template_utils.h>
|
||||
#include <ardour/ardour.h>
|
||||
#include <ardour/directory_names.h>
|
||||
#include <ardour/filesystem_paths.h>
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
@ -19,7 +20,7 @@ system_template_directory ()
|
||||
sys::path
|
||||
user_template_directory ()
|
||||
{
|
||||
sys::path p(get_user_ardour_path());
|
||||
sys::path p(user_config_directory());
|
||||
p /= templates_dir_name;
|
||||
|
||||
return p;
|
||||
|
Loading…
Reference in New Issue
Block a user