[Pkg-owncloud-commits] [owncloud-client] 21/470: Remove option from GUI, leaving config option only.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:24:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit f442195b8a7128044a5df25935863489d3cc8404
Author: James Botting <james at bottswanamedia.info>
Date:   Fri Feb 5 15:48:17 2016 +0000

    Remove option from GUI, leaving config option only.
---
 src/gui/generalsettings.cpp |  4 ----
 src/gui/generalsettings.ui  | 10 ----------
 2 files changed, 14 deletions(-)

diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp
index 4dc699c..a0d8598 100644
--- a/src/gui/generalsettings.cpp
+++ b/src/gui/generalsettings.cpp
@@ -62,7 +62,6 @@ GeneralSettings::GeneralSettings(QWidget *parent) :
 
     // misc
     connect(_ui->monoIconsCheckBox, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
-    connect(_ui->promptDeleteAllFiles, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
     connect(_ui->crashreporterCheckBox, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
     connect(_ui->newFolderLimitCheckBox, SIGNAL(toggled(bool)), SLOT(saveMiscSettings()));
     connect(_ui->newFolderLimitSpinBox, SIGNAL(valueChanged(int)), SLOT(saveMiscSettings()));
@@ -101,7 +100,6 @@ void GeneralSettings::loadMiscSettings()
 {
     ConfigFile cfgFile;
     _ui->monoIconsCheckBox->setChecked(cfgFile.monoIcons());
-    _ui->promptDeleteAllFiles->setChecked(cfgFile.promptDeleteFiles());
     _ui->desktopNotificationsCheckBox->setChecked(cfgFile.optionalDesktopNotifications());
     _ui->crashreporterCheckBox->setChecked(cfgFile.crashReporter());
     auto newFolderLimit = cfgFile.newBigFolderSizeLimit();
@@ -128,8 +126,6 @@ void GeneralSettings::saveMiscSettings()
     ConfigFile cfgFile;
     bool isChecked = _ui->monoIconsCheckBox->isChecked();
     cfgFile.setMonoIcons(isChecked);
-    bool promptIsChecked = _ui->promptDeleteAllFiles->isChecked();
-    cfgFile.setPromptDeleteFiles(promptIsChecked);
     Theme::instance()->setSystrayUseMonoIcons(isChecked);
     cfgFile.setCrashReporter(_ui->crashreporterCheckBox->isChecked());
 
diff --git a/src/gui/generalsettings.ui b/src/gui/generalsettings.ui
index ff7b8ea..4bc4b99 100644
--- a/src/gui/generalsettings.ui
+++ b/src/gui/generalsettings.ui
@@ -44,16 +44,6 @@
         </property>
        </widget>
       </item>
-      <item row="1" column="1">
-       <widget class="QCheckBox" name="promptDeleteAllFiles">
-        <property name="toolTip">
-         <string>Prompt user when sync will delete all files</string>
-        </property>
-        <property name="text">
-         <string>Confirm when Deleting All Files</string>
-        </property>
-       </widget>
-      </item>
      </layout>
     </widget>
    </item>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list