src/documentmanager.cpp

changeset 13
6e838748867b
parent 12
fe67489523b5
child 14
20d2ed3af73d
equal deleted inserted replaced
12:fe67489523b5 13:6e838748867b
125 }; 125 };
126 processed.append(modelName); 126 processed.append(modelName);
127 Model* model = this->findModelByName(modelName); 127 Model* model = this->findModelByName(modelName);
128 for (int i = 0; i < model->size(); i += 1) 128 for (int i = 0; i < model->size(); i += 1)
129 { 129 {
130 const QString referenceName = model->getObjectProperty(i, modelobjects::Property::ReferenceName).toString(); 130 const QString referenceName = model->getObjectProperty(i, linetypes::Property::ReferenceName).toString();
131 if (not referenceName.isEmpty() 131 if (not referenceName.isEmpty()
132 and openModels.find(referenceName) == std::end(openModels) 132 and openModels.find(referenceName) == std::end(openModels)
133 and not missing.contains(referenceName)) 133 and not missing.contains(referenceName))
134 { 134 {
135 try 135 try

mercurial