emailuis/uicomponents/src/fstreeplaintwolineitemvisualizer.cpp
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 10 f5907b1a1053
--- a/emailuis/uicomponents/src/fstreeplaintwolineitemvisualizer.cpp	Thu Dec 17 08:39:21 2009 +0200
+++ b/emailuis/uicomponents/src/fstreeplaintwolineitemvisualizer.cpp	Thu Jan 07 12:38:38 2010 +0200
@@ -12,7 +12,7 @@
 * Contributors:
 *
 *  Description : A visualizer for data items with plain text.
-*  Version     : %version: tr1sido#12 %
+*  Version     : %version: tr1sido#14 %
 *
 */
 
@@ -305,7 +305,7 @@
     TInt exSizeVariety( 1 );
     TInt preSizeVariety( 2 );
     TInt flagIconVariety( 0 );
-    TInt flagIconRow( 0 );
+    TInt flagIconRow( 1 );
 
     
     CFsLayoutManager::TFsLayoutMetrics firstLineTextParentMetrics = 
@@ -1439,8 +1439,11 @@
         }
     else
         {
-        opacity.SetValueNow(0.0f);
-        iIconMarked->SetOpacity(opacity);
+        if (iIconMarked)
+        	{
+        	opacity.SetValueNow(0.0f);
+        	iIconMarked->SetOpacity(opacity);
+        	}
         }
 
     if ( iPreviewPaneTextVisual )