void CounterReset::setParentDirty () { if (hasCounters()) { if (m_renderer && m_isVisual) m_renderer->setNeedsLayoutAndMinMaxRecalc(); CounterNode* n = firstChild(); for(; n; n = n->nextSibling()) { n->setParentDirty(); } } }