mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile/filtering: add two preferences for filtering
With this we can make it configurable if the search should include the notes field and if the search should be case sensitive or not. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2caaf8889b
commit
eedb1ce0ea
4 changed files with 21 additions and 0 deletions
|
@ -36,6 +36,9 @@ void qPrefGeneral::loadSync(bool doSync)
|
|||
disk_o2consumption(doSync);
|
||||
disk_pscr_ratio(doSync);
|
||||
disk_use_default_file(doSync);
|
||||
disk_filterFullTextNotes(doSync);
|
||||
disk_filterCaseSensitive(doSync);
|
||||
|
||||
if (!doSync) {
|
||||
load_diveshareExport_uid();
|
||||
load_diveshareExport_private();
|
||||
|
@ -95,3 +98,7 @@ HANDLE_PREFERENCE_BOOL(General, "use_default_file", use_default_file);
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue