diff -r 627c4a0fd0e7 -r c3690ec91ef8 src/hbwidgets/popups/hbnotificationdialogcontent.cpp --- a/src/hbwidgets/popups/hbnotificationdialogcontent.cpp Fri Jun 11 13:58:22 2010 +0300 +++ b/src/hbwidgets/popups/hbnotificationdialogcontent.cpp Wed Jun 23 18:33:25 2010 +0300 @@ -36,7 +36,10 @@ void HbNotificationDialogContent::setIcon(const HbIcon &icon) { - if(!mIconItem) { + delete mIconItem; + mIconItem = 0; + + if(!icon.isNull()) { mIconItem = style()->createPrimitive( HbStyle::P_NotificationDialog_icon, this); Q_CHECK_PTR(mIconItem);