Changes in / [e55b4d0:ac5b620]


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

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-softwaremanager/pbiBackend.h

    re46485b rdee1bcb  
    9999        ProcessManager *PMAN; 
    100100        QString cDownload, cInstall, cRemove, cUpdate, cDownloadFile, cOther; //currently running command/pbi 
    101         bool sDownload, sInstall, sRemove, sUpdate; //flag that these processes were Stopped 
     101        bool sDownload, sInstall, sRemove, sUpdate,; //flag that these processes were Stopped 
    102102        QStringList PENDINGDL, PENDINGINSTALL, PENDINGREMOVAL, PENDINGUPDATE, PENDINGOTHER; 
    103103        QString lDownload, lInstall, lRemove, lUpdate; //latest string output from process 
  • src-qt4/pc-softwaremanager/processManager.cpp

    r80faf74 rdee1bcb  
    233233 
    234234void ProcessManager::slotRemProcFinished(){ 
    235   if(remProc->exitStatus() != QProcess::NormalExit){ 
     235  if(remProc->exitStatus() != QProcess::NormalExit || remProc->exitCode() != 0){ 
    236236    qDebug() << "Removal Process Error Log:\n"<<remLog.join("\n"); 
    237237    emit ProcessError(REMOVE, remLog); 
     
    261261 
    262262void ProcessManager::slotDlProcFinished(){ 
    263   if(dlProc->exitStatus() != QProcess::NormalExit){ 
     263  if(dlProc->exitStatus() != QProcess::NormalExit || dlProc->exitCode() != 0){ 
    264264    qDebug() << "Download Process Error Log:\n"<<dlLog.join("\n"); 
    265265    emit ProcessError(DOWNLOAD, dlLog); 
     
    282282 
    283283void ProcessManager::slotInProcFinished(){ 
    284   if(inProc->exitStatus() != QProcess::NormalExit){ 
     284  if(inProc->exitStatus() != QProcess::NormalExit || inProc->exitCode() != 0){ 
    285285    qDebug() << "Install Process Error Log:\n"<<inLog.join("\n"); 
    286286    emit ProcessError(INSTALL, inLog); 
     
    298298 
    299299void ProcessManager::slotOtProcFinished(){ 
    300   if(otProc->exitStatus() != QProcess::NormalExit){ 
     300  if(otProc->exitStatus() != QProcess::NormalExit || otProc->exitCode() != 0){ 
    301301    QString msg = otProc->readAllStandardError(); 
    302302    if(msg.isEmpty()){ msg = otProc->readAllStandardOutput(); } 
Note: See TracChangeset for help on using the changeset viewer.