diff -r 8059b6aa74d7 -r 8fca3a710dc4 exportxhtmldialog.cpp --- a/exportxhtmldialog.cpp Fri Dec 29 13:52:17 2006 +0000 +++ b/exportxhtmldialog.cpp Thu May 03 14:40:13 2007 +0000 @@ -394,8 +394,7 @@ tr("Could not start %1").arg(spath) ); } else { - scriptProc->waitFinished(); - if (scriptProc->exitStatus()!=QProcess::NormalExit ) + if (!scriptProc->waitForFinished()) QMessageBox::critical( 0, tr( "Critical Error" ), tr("%1 didn't exit normally").arg(spath) + scriptProc->getErrout() );