diff -r 8059b6aa74d7 -r 1462e380b82b exportxhtmldialog.cpp --- a/exportxhtmldialog.cpp Fri Dec 29 13:52:17 2006 +0000 +++ b/exportxhtmldialog.cpp Wed Apr 11 09:21:16 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() );