diff options
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 e0c3b6353..42fc075d2 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -162,6 +162,9 @@ void register_qml_types() rc = qmlRegisterType<qPrefDisplay>("org.subsurfacedivelog.mobile", 1, 0, "SsrfDisplayPrefs"); if (rc < 0) qDebug() << "ERROR: Cannot register DisplayPrefs (class qPrefDisplay), QML will not work!!"; + rc = qmlRegisterType<qPrefDiveComputer>("org.subsurfacedivelog.mobile", 1, 0, "SsrfDiveComputerPrefs"); + if (rc < 0) + qDebug() << "ERROR: Cannot register DiveComputerPrefs (class qPrefDiveComputer), QML will not work!!"; #ifndef SUBSURFACE_TEST_DATA #ifdef SUBSURFACE_MOBILE |