From 5375fed136c30cd777e8286b561682ffac4c5d4f Mon Sep 17 00:00:00 2001 From: Himanshu Date: Thu, 8 Aug 2013 12:39:03 +0530 Subject: [PATCH] Fixed side effect Change-Id: I2bf2fec1bd2dc2f4efba7aa0219b8622daaa8118 Signed-off-by: Himanshu --- src/GlFileListPresentationModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GlFileListPresentationModel.cpp b/src/GlFileListPresentationModel.cpp index 35fce29..d524e5d 100644 --- a/src/GlFileListPresentationModel.cpp +++ b/src/GlFileListPresentationModel.cpp @@ -719,7 +719,7 @@ void FileListPresentationModel::OnContentDeleted(void) { - ClearThumbnailRequests(); + AppLogDebug("ENTER"); if (__updateProgressStatus == true) @@ -736,6 +736,7 @@ FileListPresentationModel::OnContentDeleted(void) IEnumerator* pEventEnum = __pContentEventListener->GetEnumeratorN(); while (pEventEnum->MoveNext() == E_SUCCESS) { + ClearThumbnailRequests(); pInterface = static_cast(pEventEnum->GetCurrent()); pInterface->OnContentUpdated(); } -- 2.7.4