diff options
-rw-r--r-- | framework/src/sinkfabric.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/framework/src/sinkfabric.cpp b/framework/src/sinkfabric.cpp index 87b243e0..9768fa96 100644 --- a/framework/src/sinkfabric.cpp +++ b/framework/src/sinkfabric.cpp | |||
@@ -158,13 +158,7 @@ public: | |||
158 | return; | 158 | return; |
159 | } | 159 | } |
160 | } else if (notification.type == Sink::Notification::Status) { | 160 | } else if (notification.type == Sink::Notification::Status) { |
161 | if (notification.code == Sink::ApplicationDomain::ErrorStatus) { | 161 | return; |
162 | //A resource entered error status | ||
163 | message["type"] = Notification::Warning; | ||
164 | message["message"] = QObject::tr("A resource experienced an error."); | ||
165 | } else { | ||
166 | return; | ||
167 | } | ||
168 | } else if (notification.type == Sink::Notification::Error) { | 162 | } else if (notification.type == Sink::Notification::Error) { |
169 | message["type"] = Notification::Warning; | 163 | message["type"] = Notification::Warning; |
170 | message["resource"] = QString{notification.resource}; | 164 | message["resource"] = QString{notification.resource}; |