From: Heeyong Song Date: Wed, 20 Nov 2019 08:32:08 +0000 (+0900) Subject: Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal" X-Git-Tag: submit/tizen_5.5/20191121.042511~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9845452ad70abd5413965d768659eb991dd73d7;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal" This reverts commit 27acc19a48f9f0c1ff3b18893135bf67f7326e2e. --- 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();