Skip to content

Commit

Permalink
Merge pull request #7424 from nextcloud/backport/7413/stable-3.14
Browse files Browse the repository at this point in the history
[stable-3.14] Only display server name in multiple override servers dropdown
  • Loading branch information
claucambra authored Oct 28, 2024
2 parents 51ff4df + 004bbc4 commit f5da704
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 f5da704

Please sign in to comment.