mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue