diff options
author | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2013-06-14 19:09:40 +0100 |
---|---|---|
committer | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2013-06-21 21:30:52 +0100 |
commit | 1eff5a8215319c680ea511e90eba7fd5e4e66edd (patch) | |
tree | 9a2dd27ca5ec5ffdc083dcb4c747b4f4642f4c06 /gtk2_ardour/sfdb_freesound_mootcher.h | |
parent | 48efe6c2933c00b02df66b4795ecc92baf06f6b6 (diff) |
Use config variable for Freesound download folder location.
Use the new freesound-download-dir config variable to decide the location
of sound files downloaded from Freesound.
Move the Windows-specific logic to replace '/'s with '\'s from
Mootcher::changeWorkingDir() to Mootcher::ensureWorkingDir(), and remove
the now unused Mootcher::changeWorkingDir().
Use Glib::build_filename to construct the path.
Diffstat (limited to 'gtk2_ardour/sfdb_freesound_mootcher.h')
-rw-r--r-- | gtk2_ardour/sfdb_freesound_mootcher.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_freesound_mootcher.h b/gtk2_ardour/sfdb_freesound_mootcher.h index 7e39ba4ae4..8956e349eb 100644 --- a/gtk2_ardour/sfdb_freesound_mootcher.h +++ b/gtk2_ardour/sfdb_freesound_mootcher.h @@ -76,7 +76,6 @@ public: private: - void changeWorkingDir(const char *saveLocation); void ensureWorkingDir(); std::string doRequest(std::string uri, std::string params); |