diff -r 8059b6aa74d7 -r c2ffbc9b832d exportxhtmldialog.cpp --- a/exportxhtmldialog.cpp Fri Dec 29 13:52:17 2006 +0000 +++ b/exportxhtmldialog.cpp Sat Feb 24 12:32:53 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() );