mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
42a85dfa7e
commit
6212bb6721
18 changed files with 40 additions and 37 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue