MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / populateLanguages

Method populateLanguages

pcsx2-qt/Settings/InterfaceSettingsWidget.cpp:270–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270void InterfaceSettingsWidget::populateLanguages()
271{
272 for (const std::pair<QString, QString>& it : QtHost::GetAvailableLanguageList())
273 {
274 QIcon flag_icon = QtUtils::GetFlagIconForLanguage(it.second);
275 if (!flag_icon.isNull())
276 m_ui.language->addItem(flag_icon, it.first, it.second);
277 else
278 m_ui.language->addItem(it.first, it.second);
279 }
280}
281
282void InterfaceSettingsWidget::onSetGameListBackgroundTriggered()
283{

Callers

nothing calls this directly

Calls 1

GetFlagIconForLanguageFunction · 0.85

Tested by

no test coverage detected