Switch default username to eden
This commit is contained in:
parent
b94e10a8a1
commit
46d3e8135a
2 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ ProfileManager::ProfileManager() {
|
|||
|
||||
// Create an user if none are present
|
||||
if (user_count == 0) {
|
||||
CreateNewUser(UUID::MakeRandom(), "yuzu");
|
||||
CreateNewUser(UUID::MakeRandom(), "eden");
|
||||
WriteUserSaveFile();
|
||||
}
|
||||
|
||||
|
|
|
@ -64,14 +64,14 @@ Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
|
|||
QString::fromStdString(UISettings::values.multiplayer_nickname.GetValue()));
|
||||
|
||||
// Try find the best nickname by default
|
||||
if (ui->nickname->text().isEmpty() || ui->nickname->text() == QStringLiteral("yuzu")) {
|
||||
if (ui->nickname->text().isEmpty() || ui->nickname->text() == QStringLiteral("eden")) {
|
||||
if (!Settings::values.yuzu_username.GetValue().empty()) {
|
||||
ui->nickname->setText(
|
||||
QString::fromStdString(Settings::values.yuzu_username.GetValue()));
|
||||
} else if (!GetProfileUsername().empty()) {
|
||||
ui->nickname->setText(QString::fromStdString(GetProfileUsername()));
|
||||
} else {
|
||||
ui->nickname->setText(QStringLiteral("yuzu"));
|
||||
ui->nickname->setText(QStringLiteral("eden"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue