qtquick: Fix the qml engine not being set
This commit is contained in:
@@ -131,6 +131,8 @@ void Platform_qtquick::setQmlEngine(QQmlEngine *qmlEngine)
|
||||
return;
|
||||
}
|
||||
|
||||
m_qmlEngine = qmlEngine;
|
||||
|
||||
auto dr = DockRegistry::self(); // make sure our QML types are registered
|
||||
QQmlContext *context = qmlEngine->rootContext();
|
||||
context->setContextProperty(QStringLiteral("_kddwHelpers"), &m_qquickHelpers);
|
||||
|
||||
Reference in New Issue
Block a user