diff options
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 50f975611..88b8a0587 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!!"; |