ecp: find new commonized ECP in Windows
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 26 Jul 2016 02:14:45 +0000 (11:14 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 26 Jul 2016 02:14:45 +0000 (11:14 +0900)
Change-Id: Ia1d800b0ba5d7403d98ab4371c2b76b894ed2094
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/ui/menu/contextmenu.cpp

index 2811019..2a31c7d 100644 (file)
@@ -976,9 +976,15 @@ void ContextMenu::slotControlPanel()
     QStringList arguments;
 
     // check for new ECP
+#ifndef CONFIG_WIN32
     QString newCommand = QDir(QCoreApplication::applicationDirPath() +
             QDir::separator() + SDK_EMULATOR_TOOLS_BIN_PATH +
             SDK_ECP_FILE).absolutePath();
+#else
+    QString newCommand = QDir(QCoreApplication::applicationDirPath() +
+            QDir::separator() + SDK_EMULATOR_TOOLS_BIN_PATH +
+            SDK_ECP_FILE + ".exe").absolutePath();
+#endif
     if (QFileInfo(newCommand).exists()) {
         command = newCommand;