From: Heeyong Song Date: Thu, 28 May 2020 05:21:32 +0000 (+0900) Subject: Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal" X-Git-Tag: accepted/tizen/unified/20200529.124247~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7524bb7a95669b0d4e92d35dd3a4c4b728d305ee;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal" This reverts commit 356b95b17862f70c298519387dc1091e40fb16da. Change-Id: I5db33533cc694ab77be8e8378d50000a5fd215c1 --- diff --git a/dali-toolkit/internal/controls/image-view/image-view-impl.cpp b/dali-toolkit/internal/controls/image-view/image-view-impl.cpp index 5a0aa91..035d1d8 100755 --- a/dali-toolkit/internal/controls/image-view/image-view-impl.cpp +++ b/dali-toolkit/internal/controls/image-view/image-view-impl.cpp @@ -234,22 +234,6 @@ void ImageView::SetDepthIndex( int depthIndex ) } } -void ImageView::OnStageConnection( int depth ) -{ - if( mImage ) - { - mImage.UploadedSignal().Emit( mImage ); - } - - Dali::ResourceImage resourceImage = Dali::ResourceImage::DownCast( mImage ); - if( resourceImage ) - { - resourceImage.LoadingFinishedSignal().Emit( resourceImage ); - } - - Control::OnStageConnection( depth ); // Enabled visuals will be put on stage -} - Vector3 ImageView::GetNaturalSize() { if( mVisual ) diff --git a/dali-toolkit/internal/controls/image-view/image-view-impl.h b/dali-toolkit/internal/controls/image-view/image-view-impl.h index a5a114f..fe1bac1 100644 --- a/dali-toolkit/internal/controls/image-view/image-view-impl.h +++ b/dali-toolkit/internal/controls/image-view/image-view-impl.h @@ -128,11 +128,6 @@ private: // From Control void OnInitialize(); /** - * @copydoc CustomActorImpl::OnStageConnection() - */ - virtual void OnStageConnection( int depth ); - - /** * @copydoc Toolkit::Control::GetNaturalSize */ virtual Vector3 GetNaturalSize();