summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PresetModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/PresetModel.h')
-rw-r--r--src/libs/client/PresetModel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/client/PresetModel.h b/src/libs/client/PresetModel.h
index e56a9177..9e7f5339 100644
--- a/src/libs/client/PresetModel.h
+++ b/src/libs/client/PresetModel.h
@@ -50,7 +50,7 @@ public:
m_controls.push_back(ControlModel(m_base_path + port_name, value));
}
- const string& name() { return m_name; }
+ const string& name() const { return m_name; }
void name(const string& n) { m_name = n; }
const list<ControlModel>& controls() const { return m_controls; }