Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
authorWonsik Jung <sidein@samsung.com>
Mon, 2 Dec 2019 05:42:37 +0000 (14:42 +0900)
committerWonsik Jung <sidein@samsung.com>
Mon, 2 Dec 2019 05:42:43 +0000 (14:42 +0900)
This reverts commit 5f6a68d92f66d9ec7c678585fad384dab6647d47.

dali-toolkit/internal/controls/image-view/image-view-impl.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.h

index 5a0aa91..035d1d8 100755 (executable)
@@ -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 )
index a5a114f..fe1bac1 100644 (file)
@@ -128,11 +128,6 @@ private: // From Control
   void OnInitialize();
 
   /**
-   * @copydoc CustomActorImpl::OnStageConnection()
-   */
-  virtual void OnStageConnection( int depth );
-
-  /**
    * @copydoc Toolkit::Control::GetNaturalSize
    */
   virtual Vector3 GetNaturalSize();