summaryrefslogtreecommitdiff
path: root/tizen/src/ui/menu
diff options
context:
space:
mode:
authorMunkyu Im <munkyu.im@samsung.com>2016-04-21 15:09:14 +0900
committerMunkyu Im <munkyu.im@samsung.com>2016-04-21 15:16:21 +0900
commitb55c8f608a4e5b03c6fe3b6a0ea6d63fdf8e81a7 (patch)
tree8a046a45be9adddc4d5419c1c2e77246d32abbac /tizen/src/ui/menu
parentf4fb66bf4e1e567fd86dc2d595b9f412b44e19ac (diff)
downloadqemu-b55c8f608a4e5b03c6fe3b6a0ea6d63fdf8e81a7.tar.gz
qemu-b55c8f608a4e5b03c6fe3b6a0ea6d63fdf8e81a7.tar.bz2
qemu-b55c8f608a4e5b03c6fe3b6a0ea6d63fdf8e81a7.zip
dnd: remove explicit closing process
When QProcess job is finished, close itself automatically. Change-Id: I84dcfb8b92a07ab8a50622dd82b777a8e7bc41aa Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Diffstat (limited to 'tizen/src/ui/menu')
-rw-r--r--tizen/src/ui/menu/sdbhelperthread.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tizen/src/ui/menu/sdbhelperthread.cpp b/tizen/src/ui/menu/sdbhelperthread.cpp
index 86b70284e8..37c91b0d1e 100644
--- a/tizen/src/ui/menu/sdbhelperthread.cpp
+++ b/tizen/src/ui/menu/sdbhelperthread.cpp
@@ -74,7 +74,6 @@ void SdbHelperThread::run()
emit errorOccured(errorMsg, process->exitCode());
return;
}
- process->close();
}
}
@@ -83,9 +82,6 @@ void SdbHelperThread::handleErrorOccured(QString errString, int exitCode)
qDebug() << "exitcode: " << exitCode;
//FIXME: (sdb) cannot returns exit code like "no space left"
showMsgBox(QMessageBox::Warning, MSG_SDB_FAILED_PROCESSING + errString);
- if (process) {
- process->close();
- }
}
QMessageBox *SdbHelperThread::showMsgBox(