Qt: Fix double mutex lock on controller type change

Fixes #39.
pull/211/head
Connor McLaughlin 5 years ago
parent 34f1c644f5
commit 0c40903f74

@ -324,7 +324,9 @@ void QtHostInterface::OnControllerTypeChanged(u32 slot)
{
HostInterface::OnControllerTypeChanged(slot);
updateInputMap();
// this assumes the settings mutex is already locked - as it comes from updateSettings().
QtSettingsInterface si(m_qsettings);
UpdateInputMap(si);
}
void QtHostInterface::updateInputMap()

Loading…
Cancel
Save