From 735e7f4d672b9b65f99c317cf1a06eefaade7e0d Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Tue, 26 Jul 2016 11:14:45 +0900 Subject: ecp: find new commonized ECP in Windows Change-Id: Ia1d800b0ba5d7403d98ab4371c2b76b894ed2094 Signed-off-by: SeokYeon Hwang --- tizen/src/ui/menu/contextmenu.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tizen/src/ui/menu') diff --git a/tizen/src/ui/menu/contextmenu.cpp b/tizen/src/ui/menu/contextmenu.cpp index 2811019fd1..2a31c7d195 100644 --- a/tizen/src/ui/menu/contextmenu.cpp +++ b/tizen/src/ui/menu/contextmenu.cpp @@ -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; -- cgit v1.2.3