summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/notifications/notificationhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/notifications/notificationhandler.cpp b/framework/notifications/notificationhandler.cpp
index 7fa392f0..591ecdab 100644
--- a/framework/notifications/notificationhandler.cpp
+++ b/framework/notifications/notificationhandler.cpp
@@ -44,7 +44,7 @@ void NotificationHandler::notify(const Sink::Notification &notification)
44 qWarning() << "Received notification: " << notification; 44 qWarning() << "Received notification: " << notification;
45 if (notification.type == Sink::Notification::Warning) { 45 if (notification.type == Sink::Notification::Warning) {
46 n.mType = Notification::Warning; 46 n.mType = Notification::Warning;
47 if (notification.code == Sink::Notification::TransmissionFailed) { 47 if (notification.code == Sink::ApplicationDomain::TransmissionError) {
48 n.mMessage = "Failed to send message."; 48 n.mMessage = "Failed to send message.";
49 } else { 49 } else {
50 return; 50 return;
@@ -59,7 +59,7 @@ void NotificationHandler::notify(const Sink::Notification &notification)
59 } 59 }
60 } else if (notification.type == Sink::Notification::Info) { 60 } else if (notification.type == Sink::Notification::Info) {
61 n.mType = Notification::Info; 61 n.mType = Notification::Info;
62 if (notification.code == Sink::Notification::TransmissionSucceeded) { 62 if (notification.code == Sink::ApplicationDomain::TransmissionSuccess) {
63 n.mMessage = "A message has been sent."; 63 n.mMessage = "A message has been sent.";
64 } else { 64 } else {
65 return; 65 return;