Changeset 436540d


Ignore:
Timestamp:
01/06/14 09:39:42 (7 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
57cecb9
Parents:
3a2bb38
Message:

Make sure the integer variables are also trimmed if they are empty in pbi-conf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/EasyPBI/PBIModule.cpp

    r3a2bb38 r436540d  
    181181    int val=-1; 
    182182    if(HASH.contains(CIntValues[i])){ val= HASH[CIntValues[i]].toInt(); } 
    183     if(val > 0){ line.append( QString::number(val) ); } //only enter the value if greater than zero 
    184     line.append("\""); //close out the quotes 
    185     exportVariables << CIntValues[i]; 
    186     contents << line; 
     183    if(val > 0){ //only enter the value if greater than zero 
     184      line.append( QString::number(val) ); }  
     185      line.append("\""); //close out the quotes 
     186      exportVariables << CIntValues[i]; 
     187      contents << line; 
     188    } 
    187189  } 
    188190   
Note: See TracChangeset for help on using the changeset viewer.