From: Himanshu Date: Thu, 8 Aug 2013 07:09:03 +0000 (+0530) Subject: Fixed side effect X-Git-Tag: 2.2_release~1 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=5375fed136c30cd777e8286b561682ffac4c5d4f Fixed side effect Change-Id: I2bf2fec1bd2dc2f4efba7aa0219b8622daaa8118 Signed-off-by: Himanshu --- 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(); }