exportxhtmldialog.cpp
changeset 445 0796c5592f00
parent 412 8059b6aa74d7
child 515 f396157bbb06
     1.1 --- a/exportxhtmldialog.cpp	Fri Dec 29 13:52:17 2006 +0000
     1.2 +++ b/exportxhtmldialog.cpp	Mon Apr 09 15:42:21 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() );