Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
authorSunghyun kim <scholb.kim@samsung.com>
Mon, 2 Jul 2018 06:06:36 +0000 (15:06 +0900)
committerSunghyun kim <scholb.kim@samsung.com>
Mon, 2 Jul 2018 06:06:40 +0000 (15:06 +0900)
This reverts commit 37ba97898c8099b96d7c90f01521f760e945e1d6.

Change-Id: Ieea5f8601760d0572feba770ff6a66bbd7ef10ea

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

index e4d3677..20869d3 100755 (executable)
@@ -207,22 +207,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 75d5c49..32867bf 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();