diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-07-14 08:15:23 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-14 08:16:14 -0700 |
commit | dc22747cb02caff55da809da234fd7ad1cf23f27 (patch) | |
tree | e9ac9a875c841974b10baa27fe58c41dfbbf1133 /subsurface-helper.cpp | |
parent | e834874a7a6f8e37fade28bf20640b8d0815373b (diff) | |
parent | f63217495d27c77b2f7f866caec568a19ee9543d (diff) | |
download | subsurface-dc22747cb02caff55da809da234fd7ad1cf23f27.tar.gz |
Merge branch 'qPrefAnimations' of https://github.com/janiversen/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r-- | subsurface-helper.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index 894c8a1b6..92409cb81 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -144,7 +144,10 @@ void register_qml_types() int rc; rc = qmlRegisterType<qPref>("org.subsurfacedivelog.mobile", 1, 0, "SsrfPrefs"); if (rc < 0) - qDebug() << "ERROR: Cannot register Prefs (class qPref), QML will not work!!"; + qDebug() << "ERROR: Cannot register SsrfPrefs (class qPref), QML will not work!!"; + rc = qmlRegisterType<qPrefAnimations>("org.subsurfacedivelog.mobile", 1, 0, "SsrfAnimationsPrefs"); + if (rc < 0) + qDebug() << "ERROR: Cannot register SsrfAnimationsPrefs (class qPrefAnimations), QML will not work!!"; rc = qmlRegisterType<qPrefDisplay>("org.subsurfacedivelog.mobile", 1, 0, "SsrfDisplayPrefs"); if (rc < 0) qDebug() << "ERROR: Cannot register DisplayPrefs (class qPrefDisplay), QML will not work!!"; |