Changeset dae2c4e7


Ignore:
Timestamp:
11/27/13 09:31:57 (10 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
6cb0c08
Parents:
8ce2e2d
Message:

Little more clean pbi updating log

File:
1 edited

Legend:

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

    r8ce2e2d rdae2c4e7  
    22 
    33#include "pcbsd-utils.h" 
     4#include "utils.h" 
    45#include <QDebug> 
    56 
    6 static const char* const PBU_UPDATE_CMD= "pbi_update"; 
    7 static const char* const AVAIL= "Available:"; 
    8 static const char* const DOWNLOAD_INDICATOR = "DOWNLOADED:"; 
    9 static const char* const FETCHDONE="FETCHDONE"; 
     7_STRING_CONSTANT PBU_UPDATE_CMD= "pbi_update"; 
     8_STRING_CONSTANT AVAIL= "Available:"; 
     9_STRING_CONSTANT DOWNLOAD_INDICATOR = "DOWNLOADED:"; 
     10_STRING_CONSTANT FETCHDONE= "FETCHDONE"; 
     11_STRING_CONSTANT FETCH_WORLD= "FETCH"; 
     12_STRING_CONSTANT DOWNLOADING_ERROR= "ERROR: "; 
    1013 
    1114CPBIController::CPBIController() 
     
    115118        } 
    116119 
     120        if (line.indexOf(FETCH_WORLD) == 0) 
     121        { 
     122            log_message = log_message.replace(FETCH_WORLD, "Downloading"); 
     123        } 
     124 
    117125        if (misWasFETCHDONE || (line == FETCHDONE)) 
    118126        { 
Note: See TracChangeset for help on using the changeset viewer.