Revert "[4.0] Restore behavior of Uploaded and LoadingFinished signal" 24/155724/1
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 16 Oct 2017 04:54:07 +0000 (13:54 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 16 Oct 2017 04:54:12 +0000 (13:54 +0900)
This reverts commit 1672f64946f3f6ed5bbf5e5317e46e541eabc9a5.

Change-Id: I40cf1801ec12df6ff1ff4e2a5ce0def2c40dd875

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

index a3f5184..e7514b0 100644 (file)
@@ -174,22 +174,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 f0418a1..f335ce7 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();