From 106c84b5540e54741f41c62ea224e783a756297f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 16 Mar 2017 12:05:52 +0100 Subject: A first notification popup --- components/mail/contents/ui/Mail.qml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'components/mail/contents') diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml index 334e5a96..3cc0d4f4 100644 --- a/components/mail/contents/ui/Mail.qml +++ b/components/mail/contents/ui/Mail.qml @@ -48,6 +48,7 @@ Controls2.ApplicationWindow { if (n.type == KubeNotifications.Notification.Warning) { console.warn("And it's a warning!", n.type) } + notificationPopup.notify(n.message); } } @@ -325,6 +326,10 @@ Controls2.ApplicationWindow { } //END AccountWizard + KubeComponents.Notification { + id: notificationPopup + } + //BEGIN Search Controls2.Popup { id: search -- cgit v1.2.3