diff options
Diffstat (limited to 'src/control/controlpotmeter.cpp')
-rw-r--r-- | src/control/controlpotmeter.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/control/controlpotmeter.cpp b/src/control/controlpotmeter.cpp index 9ac26c01e1..a62b77ef43 100644 --- a/src/control/controlpotmeter.cpp +++ b/src/control/controlpotmeter.cpp @@ -19,12 +19,14 @@ #include "control/controlpotmeter.h" #include "control/controlproxy.h" -ControlPotmeter::ControlPotmeter(ConfigKey key, double dMinValue, double dMaxValue, - bool allowOutOfBounds, - bool bIgnoreNops, - bool bTrack, - bool bPersist, - double defaultValue) +ControlPotmeter::ControlPotmeter(const ConfigKey& key, + double dMinValue, + double dMaxValue, + bool allowOutOfBounds, + bool bIgnoreNops, + bool bTrack, + bool bPersist, + double defaultValue) : ControlObject(key, bIgnoreNops, bTrack, bPersist, defaultValue), m_controls(key) { setRange(dMinValue, dMaxValue, allowOutOfBounds); |