summaryrefslogtreecommitdiff
path: root/tizen/src/ui/menu
diff options
context:
space:
mode:
authorSeokYeon Hwang <syeon.hwang@samsung.com>2016-07-26 11:14:45 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2016-07-26 11:14:45 +0900
commit735e7f4d672b9b65f99c317cf1a06eefaade7e0d (patch)
treed93a0f0d34d4dbe44037473b388c74a0e26e59dc /tizen/src/ui/menu
parenta98441f6414ca93d0c284aff666af4db174e3604 (diff)
downloadqemu-735e7f4d672b9b65f99c317cf1a06eefaade7e0d.tar.gz
qemu-735e7f4d672b9b65f99c317cf1a06eefaade7e0d.tar.bz2
qemu-735e7f4d672b9b65f99c317cf1a06eefaade7e0d.zip
ecp: find new commonized ECP in Windows
Change-Id: Ia1d800b0ba5d7403d98ab4371c2b76b894ed2094 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Diffstat (limited to 'tizen/src/ui/menu')
-rw-r--r--tizen/src/ui/menu/contextmenu.cpp6
1 files changed, 6 insertions, 0 deletions
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;