summaryrefslogtreecommitdiff
path: root/tizen/src/ui/mainwindow.cpp
diff options
context:
space:
mode:
authorsungmin ha <sungmin82.ha@samsung.com>2015-07-08 14:30:08 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2015-07-08 16:23:08 +0900
commitdf661b6b4c67f0d6fc175a9d931c1ddfe4d9bcef (patch)
tree91b2e5ffe06fc26a0445d16f72f0bdc141ab110b /tizen/src/ui/mainwindow.cpp
parent48a0501adb0aa1c11acacf32dcc6e9100265e44c (diff)
downloadqemu-df661b6b4c67f0d6fc175a9d931c1ddfe4d9bcef.tar.gz
qemu-df661b6b4c67f0d6fc175a9d931c1ddfe4d9bcef.tar.bz2
qemu-df661b6b4c67f0d6fc175a9d931c1ddfe4d9bcef.zip
controller: fixed emulator termination when key window is activated
Change-Id: I3f62dcc7ec5687f5ab7e9320b820e2072ffef86f Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
Diffstat (limited to 'tizen/src/ui/mainwindow.cpp')
-rw-r--r--tizen/src/ui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tizen/src/ui/mainwindow.cpp b/tizen/src/ui/mainwindow.cpp
index eb265aa57e..da51172b5c 100644
--- a/tizen/src/ui/mainwindow.cpp
+++ b/tizen/src/ui/mainwindow.cpp
@@ -267,6 +267,8 @@ void MainWindow::openController(int index, int dockPos)
action = (QAction *)popupMenu->getControllerMapper()->mapping(index);
}
+ getUIState()->conState.conFormIndex = index;
+
/* create */
if (dockPos == -1) {
getUIState()->conState.floatingCon =
@@ -287,8 +289,6 @@ void MainWindow::openController(int index, int dockPos)
}
/* update layout */
- getUIState()->conState.conFormIndex = index;
-
resize(uiInfo->getUiSize());
/* arrange */