From 8f9314d1a4b9c8979e773e3ca2387e69e8b5e555 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 26 Sep 2017 09:33:54 +0200 Subject: We don't need a log entry for a status change, we have an error notification already for that. --- framework/src/sinkfabric.cpp | 8 +------- 1 file changed, 1 insertion(+), 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: return; } } else if (notification.type == Sink::Notification::Status) { - if (notification.code == Sink::ApplicationDomain::ErrorStatus) { - //A resource entered error status - message["type"] = Notification::Warning; - message["message"] = QObject::tr("A resource experienced an error."); - } else { - return; - } + return; } else if (notification.type == Sink::Notification::Error) { message["type"] = Notification::Warning; message["resource"] = QString{notification.resource}; -- cgit v1.2.3