summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/preferences/preferences_network.cpp')
-rw-r--r--desktop-widgets/preferences/preferences_network.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/desktop-widgets/preferences/preferences_network.cpp b/desktop-widgets/preferences/preferences_network.cpp
index cb827f578..67b28c8f1 100644
--- a/desktop-widgets/preferences/preferences_network.cpp
+++ b/desktop-widgets/preferences/preferences_network.cpp
@@ -37,8 +37,6 @@ void PreferencesNetwork::refreshSettings()
ui->cloud_storage_email->setText(prefs.cloud_storage_email);
ui->cloud_storage_password->setText(prefs.cloud_storage_password);
ui->save_password_local->setChecked(prefs.save_password_local);
- ui->save_uid_local->setChecked(prefs.save_userid_local);
- ui->default_uid->setText(QString(prefs.userid).toUpper());
updateCloudAuthenticationState();
}
@@ -47,9 +45,6 @@ void PreferencesNetwork::syncSettings()
auto cloud = qPrefCloudStorage::instance();
auto proxy = qPrefProxy::instance();
- cloud->set_userid(ui->default_uid->text().toUpper());
- cloud->set_save_userid_local(ui->save_uid_local->checkState());
-
proxy->set_proxy_type(ui->proxyType->itemData(ui->proxyType->currentIndex()).toInt());
proxy->set_proxy_host(ui->proxyHost->text());
proxy->set_proxy_port(ui->proxyPort->value());