summaryrefslogtreecommitdiffstats
path: root/core/settings
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-19 21:52:10 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-01 10:21:44 -0800
commit4cff23ef7a9a5cc7e747198eacc2694a16d8f561 (patch)
tree8698324b47545a7459e9f56338eeb4f4edd99c2d /core/settings
parenteed4e2746d5a81975f3cabf440e241a38a4aec7c (diff)
downloadsubsurface-4cff23ef7a9a5cc7e747198eacc2694a16d8f561.tar.gz
mobile: remove filter settings
These are not used anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/settings')
-rw-r--r--core/settings/qPrefGeneral.cpp6
-rw-r--r--core/settings/qPrefGeneral.h10
2 files changed, 0 insertions, 16 deletions
diff --git a/core/settings/qPrefGeneral.cpp b/core/settings/qPrefGeneral.cpp
index 96b9a1aca..c790bcda7 100644
--- a/core/settings/qPrefGeneral.cpp
+++ b/core/settings/qPrefGeneral.cpp
@@ -21,8 +21,6 @@ void qPrefGeneral::loadSync(bool doSync)
disk_defaultsetpoint(doSync);
disk_o2consumption(doSync);
disk_pscr_ratio(doSync);
- disk_filterFullTextNotes(doSync);
- disk_filterCaseSensitive(doSync);
if (!doSync) {
load_diveshareExport_uid();
@@ -39,7 +37,3 @@ HANDLE_PREFERENCE_INT(General, "pscr_ratio", pscr_ratio);
HANDLE_PROP_QSTRING(General, "diveshareExport/uid", diveshareExport_uid);
HANDLE_PROP_BOOL(General, "diveshareExport/private", diveshareExport_private);
-
-HANDLE_PREFERENCE_BOOL(General, "filterFullTextNotes", filterFullTextNotes);
-
-HANDLE_PREFERENCE_BOOL(General, "filterCaseSensitive", filterCaseSensitive);
diff --git a/core/settings/qPrefGeneral.h b/core/settings/qPrefGeneral.h
index 236dc5b21..5b334d86d 100644
--- a/core/settings/qPrefGeneral.h
+++ b/core/settings/qPrefGeneral.h
@@ -12,8 +12,6 @@ class qPrefGeneral : public QObject {
Q_PROPERTY(int pscr_ratio READ pscr_ratio WRITE set_pscr_ratio NOTIFY pscr_ratioChanged)
Q_PROPERTY(QString diveshareExport_uid READ diveshareExport_uid WRITE set_diveshareExport_uid NOTIFY diveshareExport_uidChanged)
Q_PROPERTY(bool diveshareExport_private READ diveshareExport_private WRITE set_diveshareExport_private NOTIFY diveshareExport_privateChanged)
- Q_PROPERTY(bool filterFullTextNotes READ filterFullTextNotes WRITE set_filterFullTextNotes NOTIFY filterFullTextNotesChanged)
- Q_PROPERTY(bool filterCaseSensitive READ filterCaseSensitive WRITE set_filterCaseSensitive NOTIFY filterCaseSensitiveChanged)
public:
static qPrefGeneral *instance();
@@ -29,8 +27,6 @@ public:
static int pscr_ratio() { return prefs.pscr_ratio; }
static QString diveshareExport_uid() { return st_diveshareExport_uid; }
static bool diveshareExport_private() { return st_diveshareExport_private; }
- static bool filterFullTextNotes() { return prefs.filterFullTextNotes; }
- static bool filterCaseSensitive() { return prefs.filterCaseSensitive; }
public slots:
static void set_defaultsetpoint(int value);
@@ -38,8 +34,6 @@ public slots:
static void set_pscr_ratio(int value);
static void set_diveshareExport_uid(const QString& value);
static void set_diveshareExport_private(bool value);
- static void set_filterFullTextNotes(bool value);
- static void set_filterCaseSensitive(bool value);
signals:
void defaultsetpointChanged(int value);
@@ -47,9 +41,7 @@ signals:
void pscr_ratioChanged(int value);
void diveshareExport_uidChanged(const QString& value);
void diveshareExport_privateChanged(bool value);
- void filterFullTextNotesChanged(bool value);
void salinityEditDefaultChanged(bool value);
- void filterCaseSensitiveChanged(bool value);
private:
qPrefGeneral() {}
@@ -57,8 +49,6 @@ private:
static void disk_defaultsetpoint(bool doSync);
static void disk_o2consumption(bool doSync);
static void disk_pscr_ratio(bool doSync);
- static void disk_filterFullTextNotes(bool doSync);
- static void disk_filterCaseSensitive(bool doSync);
// class variables are load only
static void load_diveshareExport_uid();