| 468 | } |
| 469 | |
| 470 | QString 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 | |
| 479 | QString AccountData::accountDisplayString() const { |
| 480 | switch(type) { |
no test coverage detected