helpWindow( NULL ),
moreMode( false ),
previousPage( 0 ),
- exitConfirmed( false )
+ exitConfirmed( false ),
+ hasErrors( false )
{
myIWName = tr( "Installation Wizard" );
tmpCreated = QString::null;
if ( isMinimized() )
showNormal();
raise();
+ if ( hasErrors ) {
+ QMessageBox::warning( this,
+ tr( "Warning" ),
+ tr( "There were some errors and/or warnings during the installation.\n"
+ "Please check the installation log." ),
+ QMessageBox::Ok,
+ QMessageBox::NoButton,
+ QMessageBox::NoButton );
+ }
+ hasErrors = false;
}
// ================================================================
/*!
while( shellProcess->isRunning() );
return;
}
+ hasErrors = false;
progressView->clear();
installInfo->clear();
installInfo->setFinished( false );
while ( shellProcess->canReadLineStderr() ) {
installInfo->append( OUTLINE_TEXT( QString( shellProcess->readLineStderr() ) ) );
installInfo->scrollToBottom();
+ hasErrors = true;
}
QString str( shellProcess->readStderr() );
if ( !str.isEmpty() ) {
installInfo->append( OUTLINE_TEXT( str ) );
installInfo->scrollToBottom();
+ hasErrors = true;
}
// VSR: 10/11/05 - disable answer mode ==>
// passedParams->setEnabled( true );