emailuis/nmhswidget/src/nmhswidgetemailrow.cpp
changeset 66 084b5b1f02a7
parent 62 a8c646b56683
equal deleted inserted replaced
62:a8c646b56683 66:084b5b1f02a7
   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);