Changeset 56d05c5


Ignore:
Timestamp:
Jul 3, 2013 1:25:18 AM (10 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
cf89547
Parents:
68de35a
Message:

Fix system sources fetch (for STABLE branch). Please check for other

Location:
src-qt4/pc-sysmanager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-sysmanager/pbsystemtab.cpp

    rad90f5d r56d05c5  
    159159void PBSystemTab::ReadUname() 
    160160{ 
     161    QString uname = GetUname->readLine().simplified().trimmed(); 
    161162    if (GetUname->canReadLine() ) 
    162         labelBASEVer->setText( GetUname->readLine().simplified() ); 
     163        labelBASEVer->setText( uname ); 
     164    Version= uname.left(uname.indexOf(" ")); 
    163165} 
    164166 
  • src-qt4/pc-sysmanager/portsnapprogress.cpp

    r1620346 r56d05c5  
    6161    QString branch; 
    6262    // Figure out which to download 
    63     if ( pcVer.indexOf(".") != -1 ) 
     63    if ( pcVer.indexOf("STABLE") ) 
     64       branch = "/stable/" + pcVer.section(".", 0, 0);  
     65    else if ( pcVer.indexOf(".") != -1 ) 
    6466       branch = "/releng/" + pcVer.section("-", 0, 0);  
    65     else if ( pcVer.indexOf("STABLE") ) 
    66        branch = "/stable/" + pcVer.section("-", 0, 0);  
    6767    else 
    6868       branch = "/head"; 
Note: See TracChangeset for help on using the changeset viewer.