From: Jinhyung Jo Date: Wed, 5 Oct 2016 06:22:40 +0000 (+0900) Subject: screenshot: fix abnormal exit issue X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~22^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83b7cfac879b3acb26f9469ae31922b9f674ca7c;p=sdk%2Femulator%2Fqemu.git screenshot: fix abnormal exit issue If user close the emulator that have opened screenshot dialog, the emulator becomes abnormal termination. Change-Id: I0da1eac81ed575c8e1b13270246158a254ea4813 Signed-off-by: Jinhyung Jo --- diff --git a/tizen/src/ui/menu/screenshotdialog.cpp b/tizen/src/ui/menu/screenshotdialog.cpp index 09b2759bbc..42505d07ae 100644 --- a/tizen/src/ui/menu/screenshotdialog.cpp +++ b/tizen/src/ui/menu/screenshotdialog.cpp @@ -275,6 +275,4 @@ void ScreenShotDialog::showEvent(QShowEvent *event) ScreenShotDialog::~ScreenShotDialog() { qDebug("destroy screenshot dialog"); - - win->getPopupMenu()->screenshotDialog = NULL; }