summaryrefslogtreecommitdiffstats
path: root/src/controllers/controllerpresetinfo.cpp
diff options
context:
space:
mode:
authorbe_ <be.0@gmx.com>2015-07-18 14:50:19 -0500
committerbe_ <be.0@gmx.com>2015-07-18 14:50:19 -0500
commitca6b4e51ac8ff3dc3c8712d1cb9496929b981ec2 (patch)
tree1e133a06941cb64ada0083c13e61cfa5fc79d2ec /src/controllers/controllerpresetinfo.cpp
parent98ead94c9d2df404b1b33af5145e2e52eb0e12cc (diff)
search user's settings path for controller presets
Users should not need write access to their system's Mixxx resource directory to install controller presets. Note that autogenerated presets now show up in the available presets list, which may or may not be wanted.
Diffstat (limited to 'src/controllers/controllerpresetinfo.cpp')
-rw-r--r--src/controllers/controllerpresetinfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controllers/controllerpresetinfo.cpp b/src/controllers/controllerpresetinfo.cpp
index df661ce4e6..267094e85c 100644
--- a/src/controllers/controllerpresetinfo.cpp
+++ b/src/controllers/controllerpresetinfo.cpp
@@ -135,6 +135,7 @@ QHash<QString,QString> PresetInfo::parseOSCProduct(const QDomElement& element) c
}
PresetInfoEnumerator::PresetInfoEnumerator(ConfigObject<ConfigValue>* pConfig) {
+ controllerDirPaths.append(userPresetsPath(pConfig));
controllerDirPaths.append(resourcePresetsPath(pConfig));
// Static list of supported default extensions, sorted by popularity