- myHypothesesMap.unite( QMap<std::string,HypothesisData*>( aXmlHandler->myHypothesesMap ) );
- myAlgorithmsMap.unite( QMap<std::string,HypothesisData*>( aXmlHandler->myAlgorithmsMap ) );
- myListOfHypothesesSets.splice( myListOfHypothesesSets.begin(),
- aXmlHandler->myListOfHypothesesSets );
+ myHypothesesMap.unite( aXmlHandler->myHypothesesMap );
+ myAlgorithmsMap.unite( aXmlHandler->myAlgorithmsMap );
+ QList<HypothesesSet*>::iterator it, pos = myListOfHypothesesSets.begin();
+ for ( it = aXmlHandler->myListOfHypothesesSets.begin();
+ it != aXmlHandler->myListOfHypothesesSets.end();
+ ++it ) {
+ myListOfHypothesesSets.insert( pos, *it );
+ }