diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-12-12 10:28:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-25 02:57:42 +0900 |
commit | 6212bb6721391efc82df21d80d177f93204cb12e (patch) | |
tree | b055013d411f38fd72fb515f208868c37defb799 /core/settings/qPrefLog.cpp | |
parent | 42a85dfa7e3052d50a831bb5700a26ad7df9dc0a (diff) | |
download | subsurface-6212bb6721391efc82df21d80d177f93204cb12e.tar.gz |
Preferences UI: final cleanup
This commit does some final cleaning up to the code, mostly deleting
white space and comments.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings/qPrefLog.cpp')
-rw-r--r-- | core/settings/qPrefLog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/settings/qPrefLog.cpp b/core/settings/qPrefLog.cpp index 2ce9ae550..3a267b56d 100644 --- a/core/settings/qPrefLog.cpp +++ b/core/settings/qPrefLog.cpp @@ -19,8 +19,6 @@ void qPrefLog::loadSync(bool doSync) disk_show_average_depth(doSync); } -HANDLE_PREFERENCE_TXT(Log, "default_filename", default_filename); - void qPrefLog::set_default_file_behavior(enum def_file_behavior value) { if (value != prefs.default_file_behavior || @@ -50,6 +48,7 @@ void qPrefLog::disk_default_file_behavior(bool doSync) } } +HANDLE_PREFERENCE_TXT(Log, "default_filename", default_filename); HANDLE_PREFERENCE_BOOL(Log, "extraEnvironmentalDefault", extraEnvironmentalDefault); |