Skip to content

Commit

Permalink
Merge pull request #7413 from nextcloud/bugfix/display-multi-enforced…
Browse files Browse the repository at this point in the history
…-servers-name-only

Only display server name in multiple override servers dropdown
  • Loading branch information
claucambra authored Oct 28, 2024
2 parents fdb64e3 + 00c11b2 commit ab31f87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/wizard/owncloudsetuppage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ OwncloudSetupPage::OwncloudSetupPage(QWidget *parent)
const auto serverObject = serverJson.toObject();
const auto serverName = serverObject.value("name").toString();
const auto serverUrl = serverObject.value("url").toString();
const auto serverDisplayString = QString("%1 (%2)").arg(serverName, serverUrl);
_ui.comboBox->addItem(serverDisplayString, serverUrl);
_ui.comboBox->addItem(serverName, serverUrl);
}
} else if (theme->forceOverrideServerUrl()) {
_ui.comboBox->hide();
Expand Down

0 comments on commit ab31f87

Please sign in to comment.