FrontendCommon: Move input binding and some other logic from Qt to common
This commit is contained in:
@ -11,6 +11,11 @@ QtSettingsInterface::QtSettingsInterface(QSettings& settings) : m_settings(setti
|
||||
|
||||
QtSettingsInterface::~QtSettingsInterface() = default;
|
||||
|
||||
void QtSettingsInterface::Clear()
|
||||
{
|
||||
m_settings.clear();
|
||||
}
|
||||
|
||||
int QtSettingsInterface::GetIntValue(const char* section, const char* key, int default_value /*= 0*/)
|
||||
{
|
||||
QVariant value = m_settings.value(GetFullKey(section, key));
|
||||
|
||||
Reference in New Issue
Block a user