mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:03:23 +00:00
Desktop: Remove webservice, remove UI components (1)
The very first part of the full removal of the GPS webservice. This removes the UI artefacts and a tiny bit fallout. This leaves in place all the background processing. Be very careful here as this can break workflow of users that currently have unapplied GPS coordinates sitting in the webservice, and do upgrade to the version where this commit goes in. They have no clean UI way any more to apply those GPS fixes from the desktop. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
97f75472e8
commit
90fb34baab
3 changed files with 0 additions and 46 deletions
|
@ -125,7 +125,6 @@
|
|||
</property>
|
||||
<addaction name="actionDownloadDC"/>
|
||||
<addaction name="actionImportDiveLog"/>
|
||||
<addaction name="actionDownloadWeb"/>
|
||||
<addaction name="actionDivelogs_de"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_Edit">
|
||||
|
@ -240,14 +239,6 @@
|
|||
<string notr="true">Ctrl+D</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDownloadWeb">
|
||||
<property name="text">
|
||||
<string>Import &GPS data from Subsurface web service</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+G</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEditDeviceNames">
|
||||
<property name="text">
|
||||
<string>Edit device &names</string>
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -225,38 +225,6 @@
|
|||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_8">
|
||||
<property name="title">
|
||||
<string>Subsurface web service</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||
<property name="spacing">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_16">
|
||||
<property name="text">
|
||||
<string>Default user ID</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="default_uid"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="save_uid_local">
|
||||
<property name="text">
|
||||
<string>Save user ID locally?</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
|
|
Loading…
Add table
Reference in a new issue