devicediagnostics/devdiagapp/src/devdiagsuitecontainer.cpp
changeset 2 a5fecba4b1e4
parent 0 3ce708148e4d
--- a/devicediagnostics/devdiagapp/src/devdiagsuitecontainer.cpp	Thu Jan 07 12:39:15 2010 +0200
+++ b/devicediagnostics/devdiagapp/src/devdiagsuitecontainer.cpp	Mon Jan 18 20:09:30 2010 +0200
@@ -427,11 +427,13 @@
         {
         icons = iListBox->ItemDrawer()->ColumnData()->IconArray();
         }
-    	
-    for ( TInt i = 0; i < iChildren.Count(); ++i )
+    if(icons)
+    	{	
+    	for ( TInt i = 0; i < iChildren.Count(); ++i )
         {
         icons->AppendL( iChildren[i]->CreateIconL( ));
-        }   
+        }
+      }   
     }