From: Jussi Laitinen Date: Wed, 1 Sep 2010 09:21:18 +0000 (+0300) Subject: Removed extra rows. X-Git-Tag: v2.0b-1~21^2~3 X-Git-Url: https://vcs.maemo.org/git/?p=situare;a=commitdiff_plain;h=0641d348018fa53a3293496886193382b1471d82 Removed extra rows. --- diff --git a/src/ui/extendedlistitem.cpp b/src/ui/extendedlistitem.cpp index 644caec..1ecb362 100644 --- a/src/ui/extendedlistitem.cpp +++ b/src/ui/extendedlistitem.cpp @@ -62,13 +62,11 @@ void ExtendedListItem::addSubItem(const QString &text, const QPixmap &icon) painter.setFont(NOKIA_FONT_SMALL); QFontMetrics textMetrics = painter.fontMetrics(); - QString expandedText = TextModifier::splitLongWords(textMetrics, text, - m_subItemTextWidth); + QString expandedText = TextModifier::splitLongWords(textMetrics, text, m_subItemTextWidth); ExtendedListItemStore *itemStore = new ExtendedListItemStore(expandedText); itemStore->setIcon(icon); - itemStore->setShortenedText(shortenText(text, m_subItemTextWidth, - ListItem::TEXT_SIZE_SMALL)); + itemStore->setShortenedText(shortenText(text, m_subItemTextWidth, ListItem::TEXT_SIZE_SMALL)); itemStore->setTextRect(calculateExpandedTextRect(expandedText)); m_subItemStoreList->append(itemStore);