зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #7413 from nextcloud/bugfix/display-multi-enforced-servers-name-only
Only display server name in multiple override servers dropdown
This commit is contained in:
Коммит
ab31f87334
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче