aboutsummaryrefslogtreecommitdiffstats
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 88b8a0587..92409cb81 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -34,6 +34,7 @@ QObject *qqWindowObject = NULL;
void init_ui()
{
init_qt_late();
+ register_qml_types();
#ifndef SUBSURFACE_MOBILE
PluginManager::instance().loadPlugins();
@@ -59,7 +60,6 @@ double get_screen_dpi()
void run_ui()
{
- register_qml_types();
#ifdef SUBSURFACE_MOBILE
QQmlApplicationEngine engine;