container.state = 'fullscreen'
touchArea.switchArea(1)
homescreenHandler.tapShortcut(appName, true)
- if (appName === 'navigation' || appName === 'browser') {
- container.opacity = 0.0
- }
+ container.opacity = 0.0
} else {
image.source = './images/normal.png'
btnState = 'normal'
container.state = 'normal'
touchArea.switchArea(0)
homescreenHandler.tapShortcut(appName, false)
- if (appName === 'navigation' || appName === 'browser') {
- container.opacity = 1.0
- }
+ container.opacity = 1.0
}
}
}
json_object_object_get(p_obj, "text"));
QFileInfo icon_file(icon);
QString icon_path;
- if (icon_file.exists()) {
+ if (icon_file.isFile() && icon_file.exists()) {
icon_path = QString(QLatin1String(icon));
} else {
icon_path = "./images/Utility_Logo_Grey-01.svg";