EffectMaker: Remove anchor backend warning from color editor

Change-Id: I2709e42337f026f69b0535fc40a2a91cda745ebd
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
Mahmoud Badri
2023-10-30 12:15:05 +02:00
parent 354da91222
commit 30941d228e
12 changed files with 15 additions and 19 deletions

View File

@@ -134,6 +134,7 @@ void EffectMakerWidget::initView()
m_quickWidget->rootContext()->setContextObject(ctxObj);
m_backendModelNode.setup(m_effectMakerView->rootModelNode());
m_quickWidget->rootContext()->setContextProperty("anchorBackend", &m_backendAnchorBinding);
m_quickWidget->rootContext()->setContextProperty("modelNodeBackend", &m_backendModelNode);
// init the first load of the QML UI elements