summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefLog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefLog.cpp')
-rw-r--r--core/settings/qPrefLog.cpp3
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);