forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user