Qt/SoftwareRendererWidget: Fix backend info not getting updated properly

This commit is contained in:
spycrab
2018-05-19 17:52:53 +02:00
parent c6bd237534
commit ef803613d0
3 changed files with 18 additions and 13 deletions

View File

@ -133,10 +133,7 @@ void SoftwareRendererWidget::SaveSettings()
{
const auto backend_name = backend->GetName();
if (backend_name != SConfig::GetInstance().m_strVideoBackend)
{
SConfig::GetInstance().m_strVideoBackend = backend_name;
emit BackendChanged(QString::fromStdString(backend_name));
}
break;
}
}