summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_defaults.cpp
diff options
context:
space:
mode:
authorGravatar willemferguson <willemferguson@zoology.up.ac.za>2019-12-08 15:44:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-25 02:57:42 +0900
commitb24caa4e2db42d300e3806ca3d13ce72202a24d8 (patch)
tree31b0d4c9824427f19ab757ecf185a714ae6b80ac /desktop-widgets/preferences/preferences_defaults.cpp
parentf63f3eb4ae0cd3621cf5748dfd76749b40b6d886 (diff)
downloadsubsurface-b24caa4e2db42d300e3806ca3d13ce72202a24d8.tar.gz
Preferenced UI: add dive download tab
Add a preferences tab for dive download, allowing resetting the buttons representing download connections in the Download panel. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_defaults.cpp')
-rw-r--r--desktop-widgets/preferences/preferences_defaults.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp
index 549475a23..2a76fe662 100644
--- a/desktop-widgets/preferences/preferences_defaults.cpp
+++ b/desktop-widgets/preferences/preferences_defaults.cpp
@@ -47,14 +47,6 @@ void PreferencesDefaults::on_localDefaultFile_toggled(bool toggle)
ui->chooseFile->setEnabled(toggle);
}
-void PreferencesDefaults::on_resetRememberedDCs_clicked()
-{
- qPrefDiveComputer::set_vendor1(QString());
- qPrefDiveComputer::set_vendor2(QString());
- qPrefDiveComputer::set_vendor3(QString());
- qPrefDiveComputer::set_vendor4(QString());
-}
-
void PreferencesDefaults::on_resetSettings_clicked()
{
// apparently this button was never hooked up?