From b6c3cdb20cbcb1654c83d555d278476f55d3d103 Mon Sep 17 00:00:00 2001 From: willemferguson Date: Mon, 9 Dec 2019 20:58:20 +0200 Subject: Preferences UI: add dive log tab This adds a tab for dive log - related preferences. A suitable test programs is still required. Signed-off-by: willemferguson Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index f58fa7d83..289009eda 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -39,7 +39,7 @@ #include "core/selection.h" #include "core/ssrf.h" #include "core/save-profiledata.h" -#include "core/settings/qPrefGeneral.h" +#include "core/settings/qPrefLog.h" #include "core/settings/qPrefLocationService.h" #include "core/settings/qPrefTechnicalDetails.h" #include "core/settings/qPrefPartialPressureGas.h" @@ -1308,7 +1308,7 @@ void QMLManager::openNoCloudRepo() if (git == dummy_git_repository) { git_create_local_repo(filename); set_filename(filename); - auto s = qPrefGeneral::instance(); + auto s = qPrefLog::instance(); s->set_default_filename(filename); s->set_default_file_behavior(LOCAL_DEFAULT_FILE); } @@ -1324,7 +1324,7 @@ void QMLManager::saveChangesLocal() char *filename = NOCLOUD_LOCALSTORAGE; git_create_local_repo(filename); set_filename(filename); - auto s = qPrefGeneral::instance(); + auto s = qPrefLog::instance(); s->set_default_filename(filename); s->set_default_file_behavior(LOCAL_DEFAULT_FILE); } -- cgit v1.2.3-70-g09d2