Changeset ecf5153


Ignore:
Timestamp:
06/18/13 11:45:27 (18 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, releng/10.1
Children:
9d167cc7
Parents:
1421110
git-author:
Ken Moore <ken@…> (06/18/13 11:44:13)
git-committer:
Ken Moore <ken@…> (06/18/13 11:45:27)
Message:

Small fix for the repo parser, now it will still list PBI's that do not have an "active" version in the repo, but do have a "current" version

File:
1 edited

Legend:

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

    rda7a63c7 recf5153  
    12531253   for(int i=0; i<apps.length(); i++){ 
    12541254     if(APPHASH[apps[i]].latestVersion.isEmpty()){ 
    1255        APPHASH.remove(apps[i]);       
     1255       //Make sure there is not a backup version we can use instead 
     1256       if(APPHASH[apps[i]].backupVersion.isEmpty()){ 
     1257         APPHASH.remove(apps[i]);             
     1258       }else{ 
     1259         //Move over the backup to the latest 
     1260         APPHASH[apps[i]].latestVersion=  APPHASH[apps[i]].backupVersion; 
     1261         APPHASH[apps[i]].latestDatetime= APPHASH[apps[i]].backupDatetime; 
     1262         APPHASH[apps[i]].latestArch=     APPHASH[apps[i]].backupArch;   
     1263         APPHASH[apps[i]].latestSizeK=    APPHASH[apps[i]].backupSizeK; 
     1264         APPHASH[apps[i]].latestFilename= APPHASH[apps[i]].backupFilename; 
     1265         //Now clear the backup 
     1266         APPHASH[apps[i]].backupVersion.clear(); 
     1267         APPHASH[apps[i]].backupDatetime.clear(); 
     1268         APPHASH[apps[i]].backupArch.clear();  
     1269         APPHASH[apps[i]].backupSizeK.clear(); 
     1270         APPHASH[apps[i]].backupFilename.clear(); 
     1271       } 
    12561272     }else{ 
    1257        //Also remove this category from the list 
     1273       //Category being used, remove this category from the list 
    12581274       int catID = catsAvail.indexOf( Extras::nameToID(APPHASH[apps[i]].category) ); 
    12591275       if(catID != -1){ catsAvail.removeAt(catID); } 
Note: See TracChangeset for help on using the changeset viewer.