summaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-08 16:34:17 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-13 11:49:32 -0700
commit72d87364c018c61f2127b7293fff11b83e97b82c (patch)
treeb2d2eff7326964fddbb4a8fc82798d616ef69d0e /subsurface-helper.cpp
parent63fa532b1520bb18eff98c10ff708834939d8e59 (diff)
downloadsubsurface-72d87364c018c61f2127b7293fff11b83e97b82c.tar.gz
core: activate qPrefLanguage
remove Language from SettingsObjectWrapper and reference qPrefLanguage update files using SettingsObjectWrapper/Language to use qPrefLanguage this activated qPrefLanguage and removed the similar class from SettingsObjectWrapper. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 99480c3ac..10b7ccb49 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -162,6 +162,7 @@ void register_qml_types()
REGISTER_TYPE(qPrefDiveComputer, "SsrfDiveComputerPrefs");
REGISTER_TYPE(qPrefDivePlanner, "SsrfDivePlannerPrefs");
REGISTER_TYPE(qPrefFacebook, "SsrfFacebookPrefs");
+ REGISTER_TYPE(qPrefLanguage, "SsrfLanguagePrefs");
REGISTER_TYPE(qPrefLocationService, "SsrfLocationServicePrefs");
REGISTER_TYPE(qPrefProxy, "SsrfProxyPrefs");
REGISTER_TYPE(qPrefTechnicalDetails, "SsrfTechnicalDetailsPrefs");