emailuis/nmailui/src/nmmessagesearchlistview.cpp
changeset 62 a8c646b56683
parent 56 15bc1d5d6267
child 66 084b5b1f02a7
--- a/emailuis/nmailui/src/nmmessagesearchlistview.cpp	Thu Aug 05 21:09:09 2010 +0300
+++ b/emailuis/nmailui/src/nmmessagesearchlistview.cpp	Mon Aug 23 23:32:31 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()) {