exportxhtmldialog.ui.h
changeset 303 cb64abb5cc9f
parent 254 d3080e02b13a
child 308 2827ca924b18
     1.1 --- a/exportxhtmldialog.ui.h	Thu Mar 23 12:38:54 2006 +0000
     1.2 +++ b/exportxhtmldialog.ui.h	Mon Apr 24 10:05:10 2006 +0000
     1.3 @@ -273,12 +273,9 @@
     1.4  		settings.writeEntry ("/vym/export/xhtml/showOutput","no");	
     1.5  
     1.6  	QString ipath;	
     1.7 -	if (options.isOn ("local"))
     1.8 +	ipath=vymBaseDir.path()+"/flags/flag-url-16x16.png";
     1.9 +	if (!options.isOn ("local"))
    1.10  	{
    1.11 -		ipath=vymBaseDir.path()+"/icons/flag-url-16x16.png";
    1.12 -	} else	
    1.13 -	{
    1.14 -		ipath=vymBaseDir.path()+"/images/flag-url-16x16.png";
    1.15  		settings.setLocalEntry 
    1.16  			(filepath,"/vym/export/xhtml/xsl",xsl);
    1.17  		settings.setLocalEntry 
    1.18 @@ -291,9 +288,8 @@
    1.19  		QMessageBox::warning( 0, tr( "Warning" ),tr("Could not open %1").arg(ipath));
    1.20  		
    1.21  		
    1.22 -	if(!pm.save (dir + "flags/url-16x16.png","PNG"))
    1.23 +	if(!pm.save (dir + "flags/flag-url-16x16.png","PNG"))
    1.24  		QMessageBox::warning( 0, tr( "Warning" ),tr("Could not write %1").arg(ipath));
    1.25 -
    1.26  	if (!saveSettingsInMap)
    1.27  		settings.clearLocal("/vym/export/xhtml");
    1.28  	else	
    1.29 @@ -332,7 +328,6 @@
    1.30  	p.setOutputFile (dir+mapname+".html");
    1.31  	p.setInputFile (dir+mapname+".xml");
    1.32  	p.setXSLFile (xsl);
    1.33 -	cout << "bdp="<<vymBaseDir.path()<<"   xsl="<<xsl<<endl;
    1.34  	p.process();
    1.35  
    1.36  	if (!postscript.isEmpty()) runScript (postscript,dir+mapname+".html");