diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-11-18 00:11:37 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-11-18 01:29:09 -0500 |
commit | a74c65d6469a2f1ce0d1927ffbd73be90bf754c5 (patch) | |
tree | 4381e657348dd5bba44d2e2b40c0635ed39b7f3c /src/controllers/controllerpresetinfo.cpp | |
parent | c21f0c6559e5c19ed7a9acd301e2100823a43e00 (diff) |
Code fascism.
* Fix compiler warnings in non-3rd-party code.
* Add some missing const-references.
* Eliminate cases of "if(" "( ... )" and "for(".
Diffstat (limited to 'src/controllers/controllerpresetinfo.cpp')
-rw-r--r-- | src/controllers/controllerpresetinfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/controllers/controllerpresetinfo.cpp b/src/controllers/controllerpresetinfo.cpp index d0817f86a8..fcc730b37b 100644 --- a/src/controllers/controllerpresetinfo.cpp +++ b/src/controllers/controllerpresetinfo.cpp @@ -134,8 +134,7 @@ QHash<QString,QString> PresetInfo::parseOSCProduct(const QDomElement& element) c return product; } -PresetInfoEnumerator::PresetInfoEnumerator(ConfigObject<ConfigValue>* pConfig) - : m_pConfig(pConfig) { +PresetInfoEnumerator::PresetInfoEnumerator(ConfigObject<ConfigValue>* pConfig) { controllerDirPaths.append(localPresetsPath(pConfig)); controllerDirPaths.append(resourcePresetsPath(pConfig)); |