зеркало из https://github.com/nextcloud/desktop.git
Address PR feedback.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Родитель
b9b9813655
Коммит
60e04bdb8c
|
@ -299,7 +299,7 @@ void GeneralSettings::loadUpdateChannelsList() {
|
|||
_ui->updateChannel->clear();
|
||||
_ui->updateChannel->addItems(_currentUpdateChannelList);
|
||||
const auto currentUpdateChannelIndex = _currentUpdateChannelList.indexOf(cfgFile.currentUpdateChannel());
|
||||
_ui->updateChannel->setCurrentIndex(currentUpdateChannelIndex != -1? currentUpdateChannelIndex : 0);
|
||||
_ui->updateChannel->setCurrentIndex(currentUpdateChannelIndex != -1 ? currentUpdateChannelIndex : 0);
|
||||
connect(_ui->updateChannel, &QComboBox::currentTextChanged, this, &GeneralSettings::slotUpdateChannelChanged);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,7 +140,8 @@ SettingsDialog::SettingsDialog(ownCloudGui *gui, QWidget *parent)
|
|||
_actionGroupWidgets.insert(generalAction, generalSettings);
|
||||
_actionGroupWidgets.insert(networkAction, networkSettings);
|
||||
|
||||
foreach(auto account, AccountManager::instance()->accounts()) {
|
||||
const auto accountsList = AccountManager::instance()->accounts();
|
||||
for (const auto &account : accountsList) {
|
||||
accountAdded(account.data());
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче