diff -r fb74fa7bfb4c -r 9ae68208e2ff exportxhtmldialog.cpp --- a/exportxhtmldialog.cpp Mon Feb 12 09:28:47 2007 +0000 +++ b/exportxhtmldialog.cpp Mon Feb 19 12:01:52 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() );