xml-vym.cpp
changeset 785 5987f9f15bac
parent 781 6cbf3c9cbd21
child 786 6269016c9905
     1.1 --- a/xml-vym.cpp	Mon Jul 27 12:53:17 2009 +0000
     1.2 +++ b/xml-vym.cpp	Mon Aug 03 10:42:12 2009 +0000
     1.3 @@ -354,7 +354,7 @@
     1.4      return "the document is not in the VYM file format";
     1.5  }
     1.6  
     1.7 -bool parseVYMHandler::readBranchAttr (const QXmlAttributes& a)	//FIXME-2
     1.8 +bool parseVYMHandler::readBranchAttr (const QXmlAttributes& a)	
     1.9  {
    1.10  	mainWindow->setProgressValue (branchesCurrent++);
    1.11  
    1.12 @@ -363,12 +363,13 @@
    1.13  	if (!readOOAttr(a)) return false;
    1.14  
    1.15  	if (!a.value( "scrolled").isEmpty() )
    1.16 -		lastBranch->toggleScroll();	//FIXME-3 in endElement unscroll again, if branch is still empty 
    1.17 +		lastBranch->toggleScroll();	
    1.18  		// (interesting for import of KDE bookmarks)
    1.19 -/*
    1.20 -	if (!a.value( "frameType").isEmpty() ) 
    1.21 +
    1.22 +/*	if (!a.value( "frameType").isEmpty() )  FIXME-2
    1.23  		lastOO->setFrameType (a.value("frameType")); //Compatibility 1.8.1
    1.24  
    1.25 +*/	
    1.26  	if (!a.value( "incImgV").isEmpty() ) 
    1.27  	{	
    1.28  		if (a.value("incImgV")=="true")
    1.29 @@ -383,7 +384,6 @@
    1.30  		else	
    1.31  			lastBranch->setIncludeImagesHor(false);
    1.32  	}	
    1.33 -*/	
    1.34  	return true;	
    1.35  }
    1.36