forked from qt-creator/qt-creator
QmlPuppet: Fix build
You can not use a variable in a lambda without capturing it. Change-Id: Iada3e40c70c0584c82a5c95a40f64164ca533aed Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -108,7 +108,7 @@ void IconRenderer::setupRender()
|
||||
if (m_contentItem->height() > containerItem->height())
|
||||
containerItem->setHeight(m_contentItem->height());
|
||||
|
||||
QTimer::singleShot(0, this, [this, is3D]() {
|
||||
QTimer::singleShot(0, this, [this, is3D, containerItem]() {
|
||||
m_designerSupport.refFromEffectItem(m_quickView->rootObject(), false);
|
||||
QQuickDesignerSupportItems::disableNativeTextRendering(m_quickView->rootObject());
|
||||
|
||||
|
Reference in New Issue
Block a user