diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-16 12:05:52 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-16 12:05:52 +0100 |
commit | 106c84b5540e54741f41c62ea224e783a756297f (patch) | |
tree | 2b34924de8804cdc9c9b1dfbab2dadf6a9f3c21b /components/mail/contents/ui | |
parent | 64cfb8daa16a49cd5cd4b2d2344d85db31739c0e (diff) | |
download | kube-106c84b5540e54741f41c62ea224e783a756297f.tar.gz kube-106c84b5540e54741f41c62ea224e783a756297f.zip |
A first notification popup
Diffstat (limited to 'components/mail/contents/ui')
-rw-r--r-- | components/mail/contents/ui/Mail.qml | 5 |
1 files changed, 5 insertions, 0 deletions
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 { | |||
48 | if (n.type == KubeNotifications.Notification.Warning) { | 48 | if (n.type == KubeNotifications.Notification.Warning) { |
49 | console.warn("And it's a warning!", n.type) | 49 | console.warn("And it's a warning!", n.type) |
50 | } | 50 | } |
51 | notificationPopup.notify(n.message); | ||
51 | } | 52 | } |
52 | } | 53 | } |
53 | 54 | ||
@@ -325,6 +326,10 @@ Controls2.ApplicationWindow { | |||
325 | } | 326 | } |
326 | //END AccountWizard | 327 | //END AccountWizard |
327 | 328 | ||
329 | KubeComponents.Notification { | ||
330 | id: notificationPopup | ||
331 | } | ||
332 | |||
328 | //BEGIN Search | 333 | //BEGIN Search |
329 | Controls2.Popup { | 334 | Controls2.Popup { |
330 | id: search | 335 | id: search |