emailuis/nmhswidget/src/nmhswidgetemailrow.cpp
changeset 72 64e38f08e49c
parent 65 478bc57ad291
equal deleted inserted replaced
65:478bc57ad291 72:64e38f08e49c
   332     else{
   332     else{
   333         fontSpec.setRole(HbFontSpec::Secondary);
   333         fontSpec.setRole(HbFontSpec::Secondary);
   334         mTimeLabel->fontSpec().setRole(HbFontSpec::Secondary);
   334         mTimeLabel->fontSpec().setRole(HbFontSpec::Secondary);
   335     }  
   335     }  
   336     
   336     
   337     HbStyle style;
       
   338     qreal size;
   337     qreal size;
   339     bool found = style.parameter(QString("hb-param-text-height-secondary"), size );
   338     bool found = style()->parameter(QString("hb-param-text-height-secondary"), size );
   340     if (found) {
   339     if (found) {
   341         fontSpec.setTextHeight(size);
   340         fontSpec.setTextHeight(size);
   342     }
   341     }
   343     
   342     
   344     mSenderLabel->setFontSpec(fontSpec);
   343     mSenderLabel->setFontSpec(fontSpec);