diff options
Diffstat (limited to 'framework/src/sinkfabric.cpp')
-rw-r--r-- | framework/src/sinkfabric.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/src/sinkfabric.cpp b/framework/src/sinkfabric.cpp index 7d780ce3..b2281a5d 100644 --- a/framework/src/sinkfabric.cpp +++ b/framework/src/sinkfabric.cpp | |||
@@ -152,6 +152,11 @@ public: | |||
152 | QVariantMap message; | 152 | QVariantMap message; |
153 | if (notification.type == Sink::Notification::Warning) { | 153 | if (notification.type == Sink::Notification::Warning) { |
154 | message["type"] = "warning"; | 154 | message["type"] = "warning"; |
155 | QStringList entities; | ||
156 | for(const auto &entity : notification.entities) { | ||
157 | entities << QString{entity}; | ||
158 | } | ||
159 | message["entities"] = entities; | ||
155 | message["resource"] = QString{notification.resource}; | 160 | message["resource"] = QString{notification.resource}; |
156 | if (notification.code == Sink::ApplicationDomain::TransmissionError) { | 161 | if (notification.code == Sink::ApplicationDomain::TransmissionError) { |
157 | message["message"] = QObject::tr("Failed to send message."); | 162 | message["message"] = QObject::tr("Failed to send message."); |