aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utility.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utility.h b/src/utility.h
index df151fd87..5950d7dfd 100644
--- a/src/utility.h
+++ b/src/utility.h
@@ -1264,6 +1264,14 @@ public:
m_settings[name] = value;
}
+ void set(std::string name, const char *value)
+ {
+ JMutexAutoLock lock(m_mutex);
+
+ m_settings[name] = value;
+ }
+
+
void setDefault(std::string name, std::string value)
{
JMutexAutoLock lock(m_mutex);