summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Williams <owilliams@mixxx.org>2023-05-23 12:33:26 -0400
committerOwen Williams <owilliams@mixxx.org>2023-05-23 12:33:26 -0400
commitddb4436666338f7937e4a8a7f500089db6639d40 (patch)
treeee12962396bbbd126dd1237736c6164a6c429ea8
parentd7a780f41b6c51b18d87d95038b84d507df7b404 (diff)
Keyboard Repeat: use camelCase var
-rw-r--r--src/control/control.cpp4
-rw-r--r--src/control/control.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/control/control.cpp b/src/control/control.cpp
index 0af9f8d5d7..e44ac4f42c 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 9af659c282..a33c4648f1 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<double> m_value;