Public feed #2069671

Miscellany

public cpp v1 · immutable
Raw Edit
·published 2011-05-26 21:56 UTC
rendered paste body
    if (m_currentContent.contentType == HTMLContentType && (changeMask & ParentChange)) {        TextureMapperNode* newParent = toTextureMapperNode(graphicsLayer->parent());        if (m_parent && !newParent) {            size_t index = m_parent->m_children.find(this);            if (index != notFound)                m_parent->m_children.remove(index);        }        m_parent = newParent;    }