MCPcopy Create free account
hub / github.com/MultiMC/Launcher / getSelectedLanguageKey

Method getSelectedLanguageKey

launcher/ui/widgets/LanguageSelectionWidget.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42QString LanguageSelectionWidget::getSelectedLanguageKey() const
43{
44 auto translations = APPLICATION->translations();
45 return translations->data(languageView->currentIndex(), Qt::UserRole).toString();
46}
47
48void LanguageSelectionWidget::retranslate()
49{

Callers 2

validatePageMethod · 0.80
applySettingsMethod · 0.80

Calls 3

translationsMethod · 0.80
toStringMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected