Changeset f74a1b6


Ignore:
Timestamp:
12/06/13 02:50:07 (10 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
4dd33e9
Parents:
2b8a19b
Message:

Fixes for progress displaying

Location:
src-qt4/pc-updatecenter
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-updatecenter/dialogs/branchesdialog.cpp

    r2b8a19b rf74a1b6  
    7979                line = line.replace(" *", ""); 
    8080                ui->branchesL->setCurrentItem(item); 
    81             } 
    82  
     81            }//if current branch 
    8382            item->setText(line); 
    84         } 
    85     } 
     83        }//if branches list 
     84    }//for all lines 
    8685} 
  • src-qt4/pc-updatecenter/pbicontroller.cpp

    r170608c0 rf74a1b6  
    122122        progress.misCanCancel=true; 
    123123        log_message.clear(); 
     124        progress.mProgressMax= dl_size; 
     125        progress.mProgressCurr= dl_complete; 
    124126        progress.mMessage= tr("[%1/%2] Downloading update for %3 (%4/%5 at %6)").arg(QString::number(progress.mItemNo+1), 
    125127                                                                             QString::number(progress.mItemsCount), 
  • src-qt4/pc-updatecenter/pkgcontroller.cpp

    r170608c0 rf74a1b6  
    290290        log_line.clear(); 
    291291        progress.misCanCancel= true; 
     292        progress.mProgressMax= dl_size; 
     293        progress.mProgressCurr= dl_complete; 
    292294        progress.mMessage= tr("[%1/%2] Downloading %3 (%4/%5 at %6)").arg(QString::number(progress.mItemNo+1), 
    293295                                                                                  QString::number(progress.mItemsCount), 
Note: See TracChangeset for help on using the changeset viewer.