Qt: fix emulated button reset

This commit is contained in:
Megamouse 2023-05-22 22:05:16 +02:00
parent 95060efb7d
commit cb1b71bc57
4 changed files with 68 additions and 4 deletions

View file

@ -226,6 +226,11 @@ namespace cfg
return m_value;
}
T get_default() const
{
return def;
}
void set(T value)
{
m_value = value;