scripted exports (continued)
authorinsilmaril
Wed Jun 20 10:51:45 2007 +0000 (2007-06-20)
changeset 51807f35022646d
parent 517 b525fdd445c4
child 519 24691cdacc02
scripted exports (continued)
xsltproc.cpp
     1.1 --- a/xsltproc.cpp	Wed Jun 20 10:51:45 2007 +0000
     1.2 +++ b/xsltproc.cpp	Wed Jun 20 10:51:45 2007 +0000
     1.3 @@ -6,6 +6,8 @@
     1.4  #include "process.h"
     1.5  
     1.6  
     1.7 +extern bool debug;
     1.8 +
     1.9  XSLTProc::XSLTProc ()
    1.10  {
    1.11  	xsltprocessor="xsltproc";
    1.12 @@ -66,7 +68,7 @@
    1.13  	args << xslFile;
    1.14  	args << inputFile;
    1.15  	QString com=xsltprocessor+" "+args.join(" "); 
    1.16 -	cout <<com.ascii()<<endl;
    1.17 +	if (debug) cout <<"xsltproc executing:\n"<<com.ascii()<<endl;
    1.18  	dia.append ("vym is executing: \n" + com );	
    1.19  	xsltProc->start(xsltprocessor,args);
    1.20  	if (!xsltProc->waitForStarted() )