mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added inherited object of MimeData to carry model index list
p4#: 20926
This commit is contained in:
@@ -37,29 +37,6 @@ namespace caf
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void PdmObject::readFields (QXmlStreamReader& xmlStream )
|
||||
{
|
||||
if (!xmlStream.isStartElement())
|
||||
{
|
||||
// Error
|
||||
return ;
|
||||
}
|
||||
/*
|
||||
Attributes will not be used ...
|
||||
|
||||
QXmlStreamAttributes attribs = xmlStream.attributes();
|
||||
int i;
|
||||
for (i = 0; i < attribs.size(); ++i)
|
||||
{
|
||||
QString name = attribs[i].name().toString();
|
||||
|
||||
PdmFieldBase* field = findField(name);
|
||||
|
||||
if (field)
|
||||
{
|
||||
//field->readFieldData(attribs[i].value().toString());
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
bool isObjectFinished = false;
|
||||
QXmlStreamReader::TokenType type;
|
||||
while(!isObjectFinished)
|
||||
|
||||
Reference in New Issue
Block a user