diff --git a/dataengines/notifications/notificationsengine.cpp b/dataengines/notifications/notificationsengine.cpp --- a/dataengines/notifications/notificationsengine.cpp +++ b/dataengines/notifications/notificationsengine.cpp @@ -286,7 +286,7 @@ notificationData.insert(QStringLiteral("id"), QString::number(id)); notificationData.insert(QStringLiteral("eventId"), eventId); notificationData.insert(QStringLiteral("appName"), appname_str); - notificationData.insert(QStringLiteral("appIcon"), app_icon); + notificationData.insert(QStringLiteral("appIcon"), app_icon.isEmpty() ? QVariant() : app_icon); notificationData.insert(QStringLiteral("summary"), summaryFinal); notificationData.insert(QStringLiteral("body"), bodyFinal); notificationData.insert(QStringLiteral("actions"), actions);