diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index b58f8b4aa..b533e7e91 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -33,6 +33,7 @@ QObject *qqWindowObject = NULL; void init_ui() { init_qt_late(); + register_qml_types(); #ifndef SUBSURFACE_MOBILE PluginManager::instance().loadPlugins(); @@ -97,7 +98,6 @@ void register_qml_types() void run_ui() { - register_qml_types(); #ifdef SUBSURFACE_MOBILE QQmlApplicationEngine engine;