Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 8 Oct 2019 04:23:17 +0000 (13:23 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Tue, 8 Oct 2019 05:29:20 +0000 (14:29 +0900)
This reverts commit 4a8199f5968703585cec019d68d8fe9ca06466af.

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();