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 --- core/settings/qPref.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/settings/qPref.cpp') diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp index 6b18d1915..4138b0c82 100644 --- a/core/settings/qPref.cpp +++ b/core/settings/qPref.cpp @@ -16,6 +16,7 @@ #include "qPrefUpdateManager.h" #include "qPrefEquipment.h" #include "qPrefMedia.h" +#include "qPrefLog.h" #include #include @@ -42,6 +43,7 @@ void qPref::loadSync(bool doSync) qPrefUpdateManager::loadSync(doSync); qPrefEquipment::loadSync(doSync); qPrefMedia::loadSync(doSync); + qPrefLog::loadSync(doSync); } Q_DECLARE_METATYPE(deco_mode); @@ -68,6 +70,7 @@ void qPref::registerQML(QQmlEngine *engine) ct->setContextProperty("PrefEquipment", qPrefUpdateManager::instance()); ct->setContextProperty("PrefMedia", qPrefUpdateManager::instance()); ct->setContextProperty("PrefClearDc", qPrefUpdateManager::instance()); + ct->setContextProperty("PrefLog", qPrefUpdateManager::instance()); } // Register special types -- cgit v1.2.3-70-g09d2