Changeset d44b108


Ignore:
Timestamp:
11/07/13 09:33:05 (11 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
287fef9, 2aa342f
Parents:
8bcbb15
Message:

Prevent duplicate error messages if a download failes in the AppCafe?.

File:
1 edited

Legend:

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

    r7cc177e rd44b108  
    11321132   } 
    11331133   else if(ID == ProcessManager::DOWNLOAD){  
    1134      if(!sDownload){ //not stopped manually 
    1135        if(APPHASH.contains(cDownload)){name = APPHASH[cDownload].name; } 
    1136        title = QString(tr("%1 Download Error:")).arg(name); 
    1137        message = tr("The download process experienced an error and could not be completed"); 
    1138      } 
     1134       //The ProcessFinished function has a bit more robust check for download failures 
     1135       //       - use it instead to prevent duplicate error messages 
    11391136   } 
    11401137   else if(ID == ProcessManager::OTHER){  
Note: See TracChangeset for help on using the changeset viewer.