--- a/contentstorage/caclient/src/caentry.cpp Fri Jul 23 14:03:00 2010 +0300
+++ b/contentstorage/caclient/src/caentry.cpp Fri Aug 06 13:40:46 2010 +0300
@@ -421,10 +421,8 @@
HbIcon CaEntry::makeIcon(const QSize &size) const
{
CACLIENTTEST_FUNC_ENTRY("CaEntry::makeIcon");
- HbIcon icon;
- if (CaIconCache::cache()->exist(*this,size)) {
- icon = CaIconCache::cache()->icon(*this,size);
- } else {
+ HbIcon icon = CaIconCache::cache()->icon(*this,size);
+ if (icon.isNull()) {
icon = m_d->makeIcon(size);
CaIconCache::cache()->insert(*this, size, icon);
}