Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal"
authorWonsik Jung <sidein@samsung.com>
Mon, 11 Jun 2018 06:20:34 +0000 (15:20 +0900)
committerWonsik Jung <sidein@samsung.com>
Mon, 11 Jun 2018 06:20:42 +0000 (15:20 +0900)
This reverts commit 40b5447bbd0f09018b5cdbe05cde8cee5c85e4c4.

Change-Id: Id42a42af25df57f36d4ff97e1b82e06380303da9

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

index 8bfa80d..9af610b 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();