Revert "[Tizen] Restore behavior of Uploaded and LoadingFinished signal" 45/159945/1
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 14 Nov 2017 01:13:13 +0000 (10:13 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 14 Nov 2017 01:13:51 +0000 (10:13 +0900)
This reverts commit 0d9f0991bfa27afba6bfc1185dbe033c8eedee6b.

Change-Id: Ie3455f4406372bd75d02ac576fe3f4bbc92d936e

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

index 695eb89..72faf14 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();