Changes in / [7ae348f:408039b]


Ignore:
Location:
src-qt4/pc-softwaremanager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-softwaremanager/processManager.cpp

    r31283ea r52fa6eb  
    8484    qDebug() << "Removal Process Started:" << cmd; 
    8585    remLog.clear(); 
     86    if( cmd.contains("pbi_delete") ){ remStrictErrChecking = true; } 
     87    else{ remStrictErrChecking=false; } 
    8688    remProc->start(cmd);                   
    8789  }else if( ID == DOWNLOAD ){ 
     
    233235 
    234236void ProcessManager::slotRemProcFinished(){ 
    235   if(remProc->exitStatus() != QProcess::NormalExit || remProc->exitCode() != 0){ 
     237  if(remProc->exitStatus() != QProcess::NormalExit || (remProc->exitCode() != 0 && remStrictErrChecking) ){ 
    236238    qDebug() << "Removal Process Error Log:\n"<<remLog.join("\n"); 
    237239    emit ProcessError(REMOVE, remLog); 
  • src-qt4/pc-softwaremanager/processManager.h

    r74c359f r52fa6eb  
    3434        QProcess *upProc, *remProc, *dlProc, *inProc, *otProc; 
    3535        QStringList upLog, remLog, dlLog, inLog; 
     36        bool remStrictErrChecking; 
    3637 
    3738private slots: 
Note: See TracChangeset for help on using the changeset viewer.