diff --git a/panels/notification/server/notificationmanager.cpp b/panels/notification/server/notificationmanager.cpp index 18a401d92..38c0d3f27 100644 --- a/panels/notification/server/notificationmanager.cpp +++ b/panels/notification/server/notificationmanager.cpp @@ -207,6 +207,8 @@ uint NotificationManager::Notify(const QString &appName, uint replacesId, const auto tsAppName = m_setting->appValue(appId, NotificationSetting::AppName).toString(); if (tsAppName.isEmpty()) { tsAppName = appName; + } else { + qCDebug(notifyLog) << "AppName is translated from AM, which appId is:" << appId; } QString strBody = body; diff --git a/panels/notification/server/notificationsetting.cpp b/panels/notification/server/notificationsetting.cpp index 9a7ada8bb..f50384d3f 100644 --- a/panels/notification/server/notificationsetting.cpp +++ b/panels/notification/server/notificationsetting.cpp @@ -247,9 +247,6 @@ QList NotificationSetting::appItemsImpl() const apps.reserve(m_appAccessor->rowCount()); for (int i = 0; i < m_appAccessor->rowCount(); i++) { const auto index = m_appAccessor->index(i, 0); - const auto nodisplay = m_appAccessor->data(index, NoDisplayRole).toBool(); - if (nodisplay) - continue; const auto desktopId = m_appAccessor->data(index, DesktopIdRole).toString(); const auto icon = m_appAccessor->data(index, IconNameRole).toString();