context: support unicode log for launching ECP
authorJinhyung Choi <jinh0.choi@samsung.com>
Wed, 15 Feb 2017 05:31:41 +0000 (14:31 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 2 Mar 2017 02:28:27 +0000 (11:28 +0900)
Change-Id: I5a781f7010e404d97f4a3c36ed976f4e54ff9f5e
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
tizen/src/ui/menu/contextmenu.cpp

index e171e80..2fcd905 100644 (file)
@@ -982,7 +982,7 @@ void ContextMenu::launchControlPanel(QString& command,
          loggingCommand += " " + wrapArgument;
     }
 
-    qInfo() << qPrintable(loggingCommand);
+    qInfo() << loggingCommand;
 
     QString workingDir = QFileInfo(command).canonicalPath();
 #ifndef CONFIG_WIN32
@@ -1032,9 +1032,10 @@ void ContextMenu::slotControlPanel()
 
     // check for new ECP
 #if defined(CONFIG_WIN32)
-    QString ecpCommand = QDir(QCoreApplication::applicationDirPath() +
+    QString tmpEcpCommand = QDir(QCoreApplication::applicationDirPath() +
             QDir::separator() + SDK_EMULATOR_TOOLS_BIN_PATH +
             SDK_ECP_FILE + ".cmd").absolutePath();
+    QString ecpCommand = QDir::toNativeSeparators(tmpEcpCommand);
 #elif defined(CONFIG_LINUX)
     QString ecpCommand = QDir(QCoreApplication::applicationDirPath() +
             QDir::separator() + SDK_EMULATOR_TOOLS_BIN_PATH +