From 49d68169edc38e6f95009202e85ae253d1fc4ea0 Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Tue, 23 May 2023 12:33:26 -0400 Subject: [PATCH] Keyboard Repeat: use camelCase var --- src/control/control.cpp | 4 ++-- src/control/control.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/control/control.cpp b/src/control/control.cpp index a9e2bb57aca..b7a9ac1f0f0 100644 --- a/src/control/control.cpp +++ b/src/control/control.cpp @@ -38,7 +38,7 @@ ControlDoublePrivate::ControlDoublePrivate() Stat::SAMPLE_VARIANCE | Stat::MIN | Stat::MAX), // default CO is read only m_confirmRequired(true), - m_kbd_repeatable(false) { + m_kbdRepeatable(false) { m_value.setValue(0.0); } @@ -58,7 +58,7 @@ ControlDoublePrivate::ControlDoublePrivate( m_trackFlags(Stat::COUNT | Stat::SUM | Stat::AVERAGE | Stat::SAMPLE_VARIANCE | Stat::MIN | Stat::MAX), m_confirmRequired(false), - m_kbd_repeatable(false) { + m_kbdRepeatable(false) { initialize(defaultValue); } diff --git a/src/control/control.h b/src/control/control.h index 9af659c282b..a33c4648f1f 100644 --- a/src/control/control.h +++ b/src/control/control.h @@ -81,11 +81,11 @@ class ControlDoublePrivate : public QObject { } void setKbdRepeatable(bool enable) { - m_kbd_repeatable = enable; + m_kbdRepeatable = enable; } bool getKbdRepeatable() const { - return m_kbd_repeatable; + return m_kbdRepeatable; } // Sets the control value. @@ -207,7 +207,7 @@ class ControlDoublePrivate : public QObject { QString m_description; // If true, this control will be issued repeatedly if the keyboard key is held. - bool m_kbd_repeatable; + bool m_kbdRepeatable; // The control value. ControlValueAtomic m_value;