Fixed clock displayed as 'yes'.
This commit is contained in:
parent
9a5768bafe
commit
24d4fb8b04
2 changed files with 6 additions and 1 deletions
|
@ -102,6 +102,11 @@ void set(const std::string &key, bool value)
|
||||||
prefs[key] = value;
|
prefs[key] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void set(const std::string &key, char const *value)
|
||||||
|
{
|
||||||
|
prefs[key] = value;
|
||||||
|
}
|
||||||
|
|
||||||
void set(const std::string &key, const std::string &value)
|
void set(const std::string &key, const std::string &value)
|
||||||
{
|
{
|
||||||
prefs[key] = value;
|
prefs[key] = value;
|
||||||
|
|
|
@ -38,8 +38,8 @@ namespace preferences {
|
||||||
|
|
||||||
void write_preferences();
|
void write_preferences();
|
||||||
|
|
||||||
// Low-level, should be seen only by preferences_display ?
|
|
||||||
void set(const std::string& key, const std::string &value);
|
void set(const std::string& key, const std::string &value);
|
||||||
|
void set(const std::string& key, char const *value);
|
||||||
void set(const std::string &key, bool value);
|
void set(const std::string &key, bool value);
|
||||||
void clear(const std::string& key);
|
void clear(const std::string& key);
|
||||||
void set_child(const std::string& key, const config& val);
|
void set_child(const std::string& key, const config& val);
|
||||||
|
|
Loading…
Add table
Reference in a new issue