diff options
author | jan Iversen <jani@apache.org> | 2018-07-23 17:49:12 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-27 12:36:20 -0700 |
commit | f175890632d5845d57066b0669c347b4c0992ff9 (patch) | |
tree | efe856eb90e077c64f990b5ec5681c95eed7c866 /subsurface-helper.cpp | |
parent | e0f1817fdc3b0024c5e97cfa0db048384aae6d78 (diff) | |
download | subsurface-f175890632d5845d57066b0669c347b4c0992ff9.tar.gz |
core: activate qPrefFacebook
remove Facebook from SettingsObjectWrapper and reference qPrefFacebook
update files using SettingsObjectWrapper/Facebook to use qPrefFacebook
this activated qPrefFacebook 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.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index e55425abf..b8ccf5a92 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -165,6 +165,9 @@ void register_qml_types() rc = qmlRegisterType<qPrefDiveComputer>("org.subsurfacedivelog.mobile", 1, 0, "SsrfDiveComputerPrefs"); if (rc < 0) qDebug() << "ERROR: Cannot register DiveComputerPrefs (class qPrefDiveComputer), QML will not work!!"; + rc = qmlRegisterType<qPrefFacebook>("org.subsurfacedivelog.mobile", 1, 0, "SsrfFacebookPrefs"); + if (rc < 0) + qDebug() << "ERROR: Cannot register FacebookPrefs (class qPrefFacebook), QML will not work!!"; #ifndef SUBSURFACE_TEST_DATA #ifdef SUBSURFACE_MOBILE |