exportxhtmldialog.cpp
changeset 428 9ae68208e2ff
parent 412 8059b6aa74d7
child 515 f396157bbb06
     1.1 --- a/exportxhtmldialog.cpp	Mon Feb 12 09:28:47 2007 +0000
     1.2 +++ b/exportxhtmldialog.cpp	Mon Feb 19 12:01:52 2007 +0000
     1.3 @@ -394,8 +394,7 @@
     1.4  					   tr("Could not start %1").arg(spath) );
     1.5  	} else
     1.6  	{
     1.7 -		scriptProc->waitFinished();
     1.8 -		if (scriptProc->exitStatus()!=QProcess::NormalExit )
     1.9 +		if (!scriptProc->waitForFinished())
    1.10  			QMessageBox::critical( 0, tr( "Critical Error" ),
    1.11  			   tr("%1 didn't exit normally").arg(spath) +
    1.12  			   scriptProc->getErrout() );