equal
deleted
inserted
replaced
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); |