DolphinQt: Make the mapping window clear button use ControllerEmu's clear functionality.

This commit is contained in:
Jordan Woyak
2019-02-06 17:40:58 -06:00
parent 46918f420d
commit 64c3c52ef3
10 changed files with 12 additions and 44 deletions

View File

@ -26,13 +26,6 @@ void MappingBool::Connect()
});
}
void MappingBool::Clear()
{
m_setting->SetValue(false);
m_parent->SaveSettings();
Update();
}
void MappingBool::Update()
{
setChecked(m_setting->GetValue());