menu: add "-n" option to open control panel for MacOS 09/157609/3
authorjinh0.choi <jinh0.choi@samsung.com>
Wed, 25 Oct 2017 09:04:07 +0000 (18:04 +0900)
committerjinh0.choi <jinh0.choi@samsung.com>
Wed, 25 Oct 2017 09:30:42 +0000 (18:30 +0900)
-n option means a new instance.

Change-Id: Idec0905daa5cf4337ad0437be9146f8564943b4f
Signed-off-by: jinh0.choi <jinh0.choi@samsung.com>
tizen/src/ui/menu/contextmenu.cpp

index 96b2924..31819f4 100644 (file)
@@ -1065,9 +1065,9 @@ void ContextMenu::slotControlPanel()
     if (QFileInfo(ecpCommand).exists()) {
 #if defined(CONFIG_DARWIN)
         // In mac os x, launch .app using "open" command
-        // ex : open emulator-control-panel.app --args vm_name=... platform_version=...
+        // ex : open -n  emulator-control-panel.app --args vm_name=... platform_version=...
         command = "open";
-        arguments << ecpCommand << "--args";
+        arguments << "-n" << ecpCommand << "--args";
 #else
         command = ecpCommand;
 #endif