xml-freemind.cpp
changeset 746 ee6b0f3a4c2f
parent 741 1b4d1ea6ea8c
child 749 9ff332964015
     1.1 --- a/xml-freemind.cpp	Mon Mar 23 09:06:51 2009 +0000
     1.2 +++ b/xml-freemind.cpp	Thu Mar 26 07:49:17 2009 +0000
     1.3 @@ -67,8 +67,8 @@
     1.4  				   "saved using freemind " +atts.value("version")+". "
     1.5  				   "The version of this vym can parse freemind " + v +"."); 
     1.6  		}
     1.7 -		//FIXME TreeItem *ti=model->first();	// FIXME this will be NULL !!!
     1.8 -		TreeItem *ti=NULL; // FIXME
     1.9 +		//FIXME-3 TreeItem *ti=model->first();	//  this will be NULL !!!
    1.10 +		TreeItem *ti=NULL;
    1.11  
    1.12  		BranchObj *bo;
    1.13  		if (ti->getType()==TreeItem::MapCenter)
    1.14 @@ -76,7 +76,7 @@
    1.15  		else
    1.16  			qWarning ("parseFreeMindHandler::startElement  no mapCenter!!");
    1.17  
    1.18 -		//FIXME cout <<"model="<<model<<"   first="<<model->first()<<endl;
    1.19 +		//cout <<"model="<<model<<"   first="<<model->first()<<endl;
    1.20  
    1.21  		lastBranch=bo->addBranch();
    1.22  
    1.23 @@ -250,7 +250,7 @@
    1.24          case StateFont: break; 
    1.25          case StateHook: break; 
    1.26          case StateText: 
    1.27 -			lastBranch->setNote (ch_simplified);
    1.28 +			lastBranch->getTreeItem()->setNote (ch_simplified);
    1.29  			break; 
    1.30          default: 
    1.31  			return false;