summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/layout/AppsBaseLayout.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout/AppsBaseLayout.cpp b/src/layout/AppsBaseLayout.cpp
index 2502180..3bd97e6 100644
--- a/src/layout/AppsBaseLayout.cpp
+++ b/src/layout/AppsBaseLayout.cpp
@@ -401,8 +401,7 @@ int CAppsBaseLayout::sm_CbAppList(pkgmgrinfo_appinfo_h handle, void *data) {
if (pkgmgrinfo_appinfo_get_label(handle, &name) != PMINFO_R_OK)
return -1;
- if (pkgmgrinfo_appinfo_get_icon(handle, &icon) != PMINFO_R_OK)
- return -1;
+ pkgmgrinfo_appinfo_get_icon(handle, &icon);
if (pkgmgrinfo_pkginfo_get_usr_pkginfo(pkgid, getuid(), &pph)
!= PMINFO_R_OK)