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

Method profileName

launcher/minecraft/auth/AccountData.cpp:470–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470QString AccountData::profileName() const {
471 if(minecraftProfile.name.size() == 0) {
472 return QObject::tr("No profile (%1)").arg(accountDisplayString());
473 }
474 else {
475 return minecraftProfile.name;
476 }
477}
478
479QString AccountData::accountDisplayString() const {
480 switch(type) {

Callers 9

retranslateUiMethod · 0.45
defaultAccountChangedMethod · 0.45
loadSettingsMethod · 0.45
ProfileSelectDialogMethod · 0.45
fillSessionMethod · 0.45
profileNamesMethod · 0.45
dataMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected