Ticket #10261: xmlSerializer.patch

File xmlSerializer.patch, 801 bytes (added by thomas@…, 14 years ago)

patch to remove the one-off processing for the description field

  • xmlSerializer.

    old new  
    122122                                 const QMetaObject   *pMetaParent,
    123123                                 const QMetaProperty *pMetaProp )
    124124{
    125     if (sName != "Description")
    126     {
    127         m_pXmlWriter->writeStartElement( sName );
     125    m_pXmlWriter->writeStartElement( sName );
    128126
    129         RenderValue( GetContentName( sName, pMetaParent, pMetaProp ), vValue );
     127    RenderValue( GetContentName( sName, pMetaParent, pMetaProp ), vValue );
    130128
    131         m_pXmlWriter->writeEndElement();
    132     }
    133     else
    134         RenderValue( sName, vValue );
     129    m_pXmlWriter->writeEndElement();
    135130}
    136131
    137132//////////////////////////////////////////////////////////////////////////////