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);
file.close();
if (ok) {
myHypothesesMap = QMap<std::string,HypothesisData*>( aXmlHandler->myHypothesesMap );
myAlgorithmsMap = QMap<std::string,HypothesisData*>( aXmlHandler->myAlgorithmsMap );
myHypothesesMap.unite( QMap<std::string,HypothesisData*>( aXmlHandler->myHypothesesMap ) );
myAlgorithmsMap.unite( QMap<std::string,HypothesisData*>( aXmlHandler->myAlgorithmsMap ) );
myListOfHypothesesSets.splice( myListOfHypothesesSets.begin(),
aXmlHandler->myListOfHypothesesSets );
}