diff options
author | ronso0 <ronso0@mixxx.org> | 2022-12-09 02:02:43 +0100 |
---|---|---|
committer | ronso0 <ronso0@mixxx.org> | 2022-12-09 02:02:43 +0100 |
commit | 4fa6e9a50b84c2102520a68f8714abb66bb1b780 (patch) | |
tree | 24b9fe7b8cb281a542a6b6945c5230ac138ceab6 /src/effects | |
parent | c36575b1669dbaa658e544ee76ac5efb215213cb (diff) |
EffectChainPreset: init m_readOnly in constructor
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/presets/effectchainpreset.cpp | 3 | ||||
-rw-r--r-- | src/effects/presets/effectchainpreset.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/effects/presets/effectchainpreset.cpp b/src/effects/presets/effectchainpreset.cpp index a344a3cff6..0d3dda3250 100644 --- a/src/effects/presets/effectchainpreset.cpp +++ b/src/effects/presets/effectchainpreset.cpp @@ -7,7 +7,8 @@ EffectChainPreset::EffectChainPreset() : m_name(kNoEffectString), m_mixMode(EffectChainMixMode::DrySlashWet), - m_dSuper(0.0) { + m_dSuper(0.0), + m_readOnly(false) { } EffectChainPreset::EffectChainPreset(const QDomElement& chainElement) { diff --git a/src/effects/presets/effectchainpreset.h b/src/effects/presets/effectchainpreset.h index 587cbef90b..890e380923 100644 --- a/src/effects/presets/effectchainpreset.h +++ b/src/effects/presets/effectchainpreset.h @@ -56,5 +56,5 @@ class EffectChainPreset { EffectChainMixMode::Type m_mixMode; double m_dSuper; QList<EffectPresetPointer> m_effectPresets; - bool m_readOnly = false; + bool m_readOnly; }; |