idlehomescreen/xmluirendering/uiengine/src/xnbackgroundmanager.cpp
branchRCL_3
changeset 32 f00a6757af32
parent 31 89165693e770
--- a/idlehomescreen/xmluirendering/uiengine/src/xnbackgroundmanager.cpp	Thu Jul 15 18:25:29 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnbackgroundmanager.cpp	Thu Aug 19 09:43:35 2010 +0300
@@ -782,6 +782,7 @@
                 {
                 if ( !BaflUtils::FileExists( fs, path ) )
                     {
+                    RemoveWallpaperFromCache( path, viewData );
                     viewData->SetWallpaperImage( NULL );
                     if( viewData == &iViewManager.ActiveViewData() )
                         {
@@ -797,6 +798,7 @@
             {
             if ( !BaflUtils::FileExists( fs, *iBgImagePath ) )
                 {
+                RemoveWallpaperFromCache( *iBgImagePath );
                 delete iBgImage;
                 iBgImage = NULL;
                 drawingNeeded = ETrue;