Changeset 2567

Show
Ignore:
Timestamp:
10/15/14 09:08:16 (9 years ago)
Author:
mocchi
Message:

Mixer/BeBoB/Yamaha: remove trailing spaces

In any languages, trailing whitespace is disliked.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/mixer-qt4/ffado/mixer/yamahago.py

    r2566 r2567  
    4343    def initValues(self): 
    4444        uicLoad("ffado/mixer/yamahago", self) 
    45          
     45 
    4646        self.modelId = self.configrom.getModelId() 
    4747        # GO44 
     
    9595            path = params[0] 
    9696            idx = params[1] 
    97              
     97 
    9898            db = self.hw.getContignuous(path, idx) 
    9999            vol = self.db2vol(db) 
    100100            ctl.setValue(vol) 
    101              
     101 
    102102            pair = params[2] 
    103103            pidx = params[3] 
    104104            link = params[4] 
    105              
     105 
    106106            pdb = self.hw.getContignuous(path, pidx) 
    107107            pvol = self.db2vol(db) 
    108              
     108 
    109109            if pvol == vol: 
    110110                link.setChecked(True) 
    111              
     111 
    112112            QObject.connect(ctl, SIGNAL('valueChanged(int)'), self.updateVolume) 
    113113 
     
    116116            state = self.hw.getDiscrete(param) 
    117117            ctl.setCurrentIndex(state) 
    118              
     118 
    119119            QObject.connect(ctl, SIGNAL('activated(int)'), self.updateSelector) 
    120              
     120 
    121121        if not self.is46: 
    122122            QObject.connect(self.cmb_ana_in_12_level, SIGNAL('activated(int)'), self.updateMicLevel) 
     
    127127    def db2vol(self, db): 
    128128        return pow(10, db / 16384 + 2) - 1 
    129      
     129 
    130130    def updateMicLevel(self, state): 
    131131        if state == 0: 
     
    147147        db = self.vol2db(vol) 
    148148        self.hw.setContignuous(path, db, idx) 
    149          
     149 
    150150        if link.isChecked(): 
    151151            pair.setValue(vol)