diff options
Diffstat (limited to 'src/control/controlpotmeter.h')
-rw-r--r-- | src/control/controlpotmeter.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/control/controlpotmeter.h b/src/control/controlpotmeter.h index ef56a8eb2a..a3dee755c7 100644 --- a/src/control/controlpotmeter.h +++ b/src/control/controlpotmeter.h @@ -73,12 +73,14 @@ class PotmeterControls : public QObject { class ControlPotmeter : public ControlObject { Q_OBJECT public: - ControlPotmeter(ConfigKey key, double dMinValue = 0.0, double dMaxValue = 1.0, - bool allowOutOfBounds = false, - bool bIgnoreNops = true, - bool bTrack = false, - bool bPersist = false, - double defaultValue = 0.0); + ControlPotmeter(const ConfigKey& key, + double dMinValue = 0.0, + double dMaxValue = 1.0, + bool allowOutOfBounds = false, + bool bIgnoreNops = true, + bool bTrack = false, + bool bPersist = false, + double defaultValue = 0.0); virtual ~ControlPotmeter(); // Sets the step count of the associated PushButtons. |