include "config-host.h"
add null checking
Change-Id: I2805a21487de0b89aef904d00cdec354d7320246
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
}
QAction *action = NULL;
- if (popupMenu != NULL) {
+ if (popupMenu != NULL && popupMenu->getControllerMapper() != NULL) {
action = (QAction *)popupMenu->getControllerMapper()->mapping(index);
}
#include <QtWidgets>
#include "contextmenu.h"
+#include "emulator_common.h"
#include "mainwindow.h"
#include "menu/advancedmenuitem.h"
#include "menu/scalemenuitem.h"