summaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 67c8a6dcc..786c2ab03 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -158,7 +158,7 @@ static void register_meta_types()
void register_qml_types(QQmlEngine *engine)
{
// register qPref*
- qPref::instance()->registerQML(engine);
+ qPref::registerQML(engine);
#ifndef SUBSURFACE_TEST_DATA
int rc;