diff options
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r-- | subsurface-helper.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index 5d1a84fae..9ae89561f 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -187,11 +187,9 @@ void register_qml_types(QQmlEngine *engine) if (engine != NULL) { QQmlContext *ct = engine->rootContext(); - // Register qml interface class + // Register qml interface classes QMLInterface::setup(ct); - - themeInterface::instance()->setup(); - ct->setContextProperty("ThemeNew", themeInterface::instance()); + themeInterface::setup(ct); } REGISTER_TYPE(QMLManager, "QMLManager"); |