MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / getSelectedLanguageKey

Method getSelectedLanguageKey

launcher/ui/widgets/LanguageSelectionWidget.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47QString LanguageSelectionWidget::getSelectedLanguageKey() const
48{
49 auto translations = APPLICATION->translations();
50 return translations->data(languageView->currentIndex(), Qt::UserRole).toString();
51}
52
53void LanguageSelectionWidget::retranslate()
54{

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