screenshot: fix abnormal exit issue
authorJinhyung Jo <jinhyung.jo@samsung.com>
Wed, 5 Oct 2016 06:22:40 +0000 (15:22 +0900)
committerJinhyung Jo <jinhyung.jo@samsung.com>
Thu, 6 Oct 2016 10:59:54 +0000 (19:59 +0900)
If user close the emulator that have opened screenshot dialog,
the emulator becomes abnormal termination.

Change-Id: I0da1eac81ed575c8e1b13270246158a254ea4813
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
tizen/src/ui/menu/screenshotdialog.cpp

index 09b2759..42505d0 100644 (file)
@@ -275,6 +275,4 @@ void ScreenShotDialog::showEvent(QShowEvent *event)
 ScreenShotDialog::~ScreenShotDialog()
 {
     qDebug("destroy screenshot dialog");
-
-    win->getPopupMenu()->screenshotDialog = NULL;
 }