emailuis/nmailui/src/nmmessagesearchlistview.cpp
changeset 65 478bc57ad291
parent 59 16ed8d08d0b1
child 72 64e38f08e49c
--- a/emailuis/nmailui/src/nmmessagesearchlistview.cpp	Wed Aug 18 09:37:47 2010 +0300
+++ b/emailuis/nmailui/src/nmmessagesearchlistview.cpp	Thu Sep 02 20:15:00 2010 +0300
@@ -238,7 +238,8 @@
             mMessageListWidget->setScrollDirections(Qt::Vertical);
             mMessageListWidget->setClampingStyle(HbScrollArea::BounceBackClamping);
             mMessageListWidget->setFrictionEnabled(true);
-
+            mMessageListWidget->setItemPixmapCacheEnabled(true);
+            
             // We want the search results to appear one by one.
             mMessageListWidget->setEnabledAnimations(HbAbstractItemView::Appear &
                                                      HbAbstractItemView::Expand);
@@ -349,7 +350,7 @@
     if (resultCount) {
         if (mInfoLabel) {
             // Display the result count on the info label.
-            QString resultsString(hbTrId("txt_mail_list_search_results").arg(resultCount));
+            QString resultsString(hbTrId("txt_mail_list_search_results",resultCount));
             mInfoLabel->setHeading(resultsString);
 
             if (!mInfoLabel->isVisible()) {