aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_defaults.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-10-02 11:09:13 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:51 -0700
commit8a54a46779bac174cb9216d1c8aa76a3bfc1bc84 (patch)
treee9e769fb2a300b854935a4eff986fd206b119d54 /desktop-widgets/preferences/preferences_defaults.cpp
parentd9595ad266021575522f73bb87dfc51517461d59 (diff)
downloadsubsurface-8a54a46779bac174cb9216d1c8aa76a3bfc1bc84.tar.gz
Preferences: random fixes
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> 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.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/desktop-widgets/preferences/preferences_defaults.cpp b/desktop-widgets/preferences/preferences_defaults.cpp
index 637117105..45888ebec 100644
--- a/desktop-widgets/preferences/preferences_defaults.cpp
+++ b/desktop-widgets/preferences/preferences_defaults.cpp
@@ -25,7 +25,6 @@ void PreferencesDefaults::on_chooseFile_clicked()
ui->defaultfilename->setText(choosenFileName);
}
-
void PreferencesDefaults::on_btnUseDefaultFile_toggled(bool toggle)
{
if (toggle) {
@@ -36,22 +35,11 @@ void PreferencesDefaults::on_btnUseDefaultFile_toggled(bool toggle)
}
}
-void PreferencesDefaults::on_noDefaultFile_toggled(bool toggle)
-{
- prefs.default_file_behavior = NO_DEFAULT_FILE;
-}
-
void PreferencesDefaults::on_localDefaultFile_toggled(bool toggle)
{
ui->defaultfilename->setEnabled(toggle);
ui->btnUseDefaultFile->setEnabled(toggle);
ui->chooseFile->setEnabled(toggle);
- prefs.default_file_behavior = LOCAL_DEFAULT_FILE;
-}
-
-void PreferencesDefaults::on_cloudDefaultFile_toggled(bool toggle)
-{
- prefs.default_file_behavior = CLOUD_DEFAULT_FILE;
}
void PreferencesDefaults::refreshSettings()