mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: handle environmental states in Information tab
Create a preference setting on the General Settings page. The setting is saved with the other preferences. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
33e49637ec
commit
7dc8a9850d
5 changed files with 29 additions and 0 deletions
|
@ -38,6 +38,7 @@ void qPrefGeneral::loadSync(bool doSync)
|
|||
disk_use_default_file(doSync);
|
||||
disk_filterFullTextNotes(doSync);
|
||||
disk_filterCaseSensitive(doSync);
|
||||
disk_extraEnvironmentalDefault(doSync);
|
||||
|
||||
if (!doSync) {
|
||||
load_diveshareExport_uid();
|
||||
|
@ -93,6 +94,8 @@ HANDLE_PREFERENCE_INT(General, "o2consumption", o2consumption);
|
|||
|
||||
HANDLE_PREFERENCE_INT(General, "pscr_ratio", pscr_ratio);
|
||||
|
||||
HANDLE_PREFERENCE_BOOL(General, "extraEnvironmentalDefault", extraEnvironmentalDefault);
|
||||
|
||||
HANDLE_PREFERENCE_BOOL(General, "use_default_file", use_default_file);
|
||||
|
||||
HANDLE_PROP_QSTRING(General, "diveshareExport/uid", diveshareExport_uid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue