Fix of IPAL19621 (Qt4 porting: regress of automatic assign a set of hypotheses).

This commit is contained in:
akl 2008-04-23 07:41:48 +00:00
parent 17397a8eee
commit b75d24976c

View File

@ -173,8 +173,8 @@ namespace SMESH
bool ok = reader.parse(source); bool ok = reader.parse(source);
file.close(); file.close();
if (ok) { if (ok) {
myHypothesesMap = QMap<std::string,HypothesisData*>( aXmlHandler->myHypothesesMap ); myHypothesesMap.unite( QMap<std::string,HypothesisData*>( aXmlHandler->myHypothesesMap ) );
myAlgorithmsMap = QMap<std::string,HypothesisData*>( aXmlHandler->myAlgorithmsMap ); myAlgorithmsMap.unite( QMap<std::string,HypothesisData*>( aXmlHandler->myAlgorithmsMap ) );
myListOfHypothesesSets.splice( myListOfHypothesesSets.begin(), myListOfHypothesesSets.splice( myListOfHypothesesSets.begin(),
aXmlHandler->myListOfHypothesesSets ); aXmlHandler->myListOfHypothesesSets );
} }