diff -r 8059b6aa74d7 -r f0e482cd84f0 exportxhtmldialog.cpp --- a/exportxhtmldialog.cpp Fri Dec 29 13:52:17 2006 +0000 +++ b/exportxhtmldialog.cpp Thu May 17 20:19:03 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() );