Removed extra rows.
authorJussi Laitinen <jupe@l3l7588.ixonos.local>
Wed, 1 Sep 2010 09:21:18 +0000 (12:21 +0300)
committerJussi Laitinen <jupe@l3l7588.ixonos.local>
Wed, 1 Sep 2010 09:21:18 +0000 (12:21 +0300)
src/ui/extendedlistitem.cpp

index 644caec..1ecb362 100644 (file)
@@ -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);