diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-24 22:15:18 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-24 22:15:18 +0100 |
commit | 9ea268a6d0f4054c31b2729ecd6cfcc9d07a2d6a (patch) | |
tree | 41fef7daac9e5ae64d61452a3f38c82243d29fdd /common/notification.cpp | |
parent | 84d70933c0cd0987d5fee5a78f413fec82bb1288 (diff) | |
download | sink-9ea268a6d0f4054c31b2729ecd6cfcc9d07a2d6a.tar.gz sink-9ea268a6d0f4054c31b2729ecd6cfcc9d07a2d6a.zip |
Implemented notification support in the model.
This will allow us to fold things like progress and sync status directly
into the model. Usecases are mail download progress and folder sync
progress.
Ideally we would also solve the resource/account state through this.
Diffstat (limited to 'common/notification.cpp')
-rw-r--r-- | common/notification.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/notification.cpp b/common/notification.cpp index b399d50..806d04a 100644 --- a/common/notification.cpp +++ b/common/notification.cpp | |||
@@ -21,6 +21,6 @@ | |||
21 | 21 | ||
22 | QDebug operator<<(QDebug dbg, const Sink::Notification &n) | 22 | QDebug operator<<(QDebug dbg, const Sink::Notification &n) |
23 | { | 23 | { |
24 | dbg << "Notification(Id: " << n.id << ", Type: " << n.type << ", Code: " << n.code << ", Message: " << n.message << ")"; | 24 | dbg << "Notification(Type: " << n.type << "Id, : " << n.id << ", Code: " << n.code << ", Message: " << n.message << ", Entities: " << n.entities << ")"; |
25 | return dbg.space(); | 25 | return dbg.space(); |
26 | } | 26 | } |