Ticket #10420: xsd-fix-qstringlist.patch

File xsd-fix-qstringlist.patch, 539 bytes (added by Gregory Moyer <moyerg@…>, 12 years ago)
  • mythtv/libs/libmythupnp/xsd.cpp

    diff --git a/mythtv/libs/libmythupnp/xsd.cpp b/mythtv/libs/libmythupnp/xsd.cpp
    index f7ed17a..7ddf2f5 100644
    a b bool Xsd::RenderXSD( HTTPRequest *pRequest, QObject *pClass ) 
    224224
    225225                bCustomType = true;
    226226            }
     227            else if (sType == "QStringList")
     228            {
     229                sType = "ArrayOfString";
     230                bCustomType = true;
     231            }
    227232
    228233            QString sNewPropName( metaProperty.name() );
    229234