| 96 | } |
| 97 | |
| 98 | QStringList AccountList::profileNames() const { |
| 99 | QStringList out; |
| 100 | for(auto & account: m_accounts) { |
| 101 | auto profileName = account->profileName(); |
| 102 | if(profileName.isEmpty()) { |
| 103 | continue; |
| 104 | } |
| 105 | out.append(profileName); |
| 106 | } |
| 107 | return out; |
| 108 | } |
| 109 | |
| 110 | void AccountList::addAccount(const MinecraftAccountPtr account) |
| 111 | { |
nothing calls this directly
no test coverage detected