VideoBackend: Rename GetName to GetConfigName

Make the function name more explicit and a better match for
GetDisplayName.

Change NAME to CONFIG_NAME while I'm at it.
This commit is contained in:
Dentomologist
2025-09-23 14:42:59 -07:00
parent e0e2c7461b
commit 5b4df5ae98
16 changed files with 31 additions and 31 deletions

View File

@@ -57,7 +57,7 @@ void GeneralWidget::CreateWidgets()
for (auto& backend : VideoBackendBase::GetAvailableBackends())
{
options.push_back(std::make_pair(tr(backend->GetDisplayName().c_str()),
QString::fromStdString(backend->GetName())));
QString::fromStdString(backend->GetConfigName())));
}
m_backend_combo = new ConfigStringChoice(options, Config::MAIN_GFX_BACKEND, m_game_layer);
m_previous_backend = m_backend_combo->currentIndex();