Changeset cf89547


Ignore:
Timestamp:
07/03/13 01:39:05 (17 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
0fa122e
Parents:
56d05c5
Message:

Ooops. Fix ugly code

File:
1 edited

Legend:

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

    r56d05c5 rcf89547  
    158158 
    159159void PBSystemTab::ReadUname() 
    160 { 
    161     QString uname = GetUname->readLine().simplified().trimmed(); 
     160{     
    162161    if (GetUname->canReadLine() ) 
    163         labelBASEVer->setText( uname ); 
    164     Version= uname.left(uname.indexOf(" ")); 
     162    { 
     163        QString uname = GetUname->readLine().simplified(); 
     164        labelBASEVer->setText( uname ); 
     165        Version= uname.section(" ",0,0); 
     166    } 
    165167} 
    166168 
Note: See TracChangeset for help on using the changeset viewer.