mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Add UI config-option for freesound download cache
This also invalidates any prior libardour rc-config (which was not previously exposed as config). Note: old existing cache is not moved or invalidated when the path changes.
This commit is contained in:
parent
f925dd675e
commit
7fa207d9ee
4 changed files with 20 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ Mootcher:: ~Mootcher()
|
|||
|
||||
void Mootcher::ensureWorkingDir ()
|
||||
{
|
||||
std::string p = ARDOUR::Config->get_freesound_download_dir();
|
||||
std::string const& p = UIConfiguration::instance ().get_freesound_dir ();
|
||||
|
||||
DEBUG_TRACE(PBD::DEBUG::Freesound, "ensureWorkingDir() - " + p + "\n");
|
||||
if (!Glib::file_test (p, Glib::FILE_TEST_IS_DIR)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue