Fix widget-application error 07/185507/1
authorminho.sun <minho.sun@samsung.com>
Tue, 31 Jul 2018 07:49:19 +0000 (16:49 +0900)
committerminho.sun <minho.sun@samsung.com>
Tue, 31 Jul 2018 07:51:56 +0000 (16:51 +0900)
To use widget-application, we should set application type to WIDGET.
Currently, application type is always set to NORMAL, so widget
application is not working.

Change type to WIDGET.

Change-Id: Ia4f21db03d60ecd27b1e6f5c877c02cfc79803af
Signed-off-by: minho.sun <minho.sun@samsung.com>
dali/internal/system/common/widget-application-impl.cpp

index dd1101c..da34463 100644 (file)
@@ -51,7 +51,7 @@ WidgetApplicationPtr WidgetApplication::New(
 }
 
 WidgetApplication::WidgetApplication( int* argc, char** argv[], const std::string& stylesheet )
-: Application(argc, argv, stylesheet, Dali::WidgetApplication::OPAQUE, PositionSize(), Framework::NORMAL)
+: Application(argc, argv, stylesheet, Dali::WidgetApplication::OPAQUE, PositionSize(), Framework::WIDGET)
 {
   DALI_LOG_ERROR("WidgetApplication is not implemented in UBUNTU profile.\n");
 }