phonebookui/cnthistorymodel/src/cnthistorymodel_p.cpp
changeset 61 d30183af6ca6
parent 53 e6aff7b69165
child 66 554fe4dbbb59
--- a/phonebookui/cnthistorymodel/src/cnthistorymodel_p.cpp	Wed Aug 11 09:06:35 2010 +0300
+++ b/phonebookui/cnthistorymodel/src/cnthistorymodel_p.cpp	Mon Aug 23 16:06:28 2010 +0300
@@ -524,7 +524,7 @@
         HItemPointer item = m_logsMap.value( i );
         
         // Found item in the logs map
-        if ( !item.isNull() ) {
+        if ( !item.isNull() && event ) {
             int index = m_List.indexOf( item );
             readLogEvent( event, *item );
             indices.append( index );