Fix for N_SE-54629 tizen_2.2 2.2.1_release
authorAlok Mishra <alok.besu@samsung.com>
Thu, 10 Oct 2013 10:21:53 +0000 (15:51 +0530)
committerAlok Mishra <alok.besu@samsung.com>
Thu, 10 Oct 2013 10:21:53 +0000 (15:51 +0530)
Reverting Change-Id: I56fc8553ed0f973913c666c200ae0ed29c703f37
Fix for N_SE-54310 is provided in Native UI Builder project

Change-Id: Ibc097adc56343f37382b486a72f211c8ecb6fb4f
Signed-off-by: Alok Mishra <alok.besu@samsung.com>
Template/Tizen Native/Form-based Application/scenebasedformapp/project/src/AppFrame.cpp
Template/Tizen Native/Tab-based Application/scenebasedtabapp/project/src/AppFrame.cpp

index 03ae3b5..49447ea 100644 (file)
@@ -19,7 +19,6 @@ $(baseName)Frame::~$(baseName)Frame(void)
 result
 $(baseName)Frame::OnInitializing(void)
 {
-       result r = E_FAILURE;
        // Prepare Scene management.
        SceneManager* pSceneManager = SceneManager::GetInstance();
        static $(baseName)FormFactory formFactory;
@@ -29,7 +28,7 @@ $(baseName)Frame::OnInitializing(void)
        pSceneManager->RegisterScene(L"workflow");
 
        // Go to the scene.
-       r = pSceneManager->GoForward(SceneTransitionId(IDSCNT_MAIN_SCENE));
+       result r = pSceneManager->GoForward(SceneTransitionId(IDSCNT_MAIN_SCENE));
 
        // TODO: Add your frame initialization code here.
        return r;
index 00cdf81..3e7bcc9 100644 (file)
@@ -19,7 +19,7 @@ $(baseName)Frame::~$(baseName)Frame(void)
 result
 $(baseName)Frame::OnInitializing(void)
 {
-       result r = E_FAILURE;
+       
        // Prepare Scene management.
        SceneManager* pSceneManager = SceneManager::GetInstance();
        static $(baseName)FormFactory formFactory;
@@ -29,7 +29,7 @@ $(baseName)Frame::OnInitializing(void)
        pSceneManager->RegisterScene(L"workflow");
 
        // Go to the scene.
-       r = pSceneManager->GoForward(SceneTransitionId(IDSCNT_START));
+        result r = pSceneManager->GoForward(SceneTransitionId(IDSCNT_START));
 
        // TODO: Add your frame initialization code here.
        return r;