diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-22 18:13:38 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-22 18:13:38 +0100 |
commit | d11978620ea82d1795c9fdd65c4c79d3dd852440 (patch) | |
tree | 0269d3f9d9d87d309a7792ac502b50790ee6f319 /examples/maildirresource/maildirresource.cpp | |
parent | 49f9b61cfdbd108c89db92c400cacdb97985025c (diff) | |
download | sink-d11978620ea82d1795c9fdd65c4c79d3dd852440.tar.gz sink-d11978620ea82d1795c9fdd65c4c79d3dd852440.zip |
Added the mail date property
Diffstat (limited to 'examples/maildirresource/maildirresource.cpp')
-rw-r--r-- | examples/maildirresource/maildirresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/maildirresource/maildirresource.cpp b/examples/maildirresource/maildirresource.cpp index 90b4e55..68eb099 100644 --- a/examples/maildirresource/maildirresource.cpp +++ b/examples/maildirresource/maildirresource.cpp | |||
@@ -299,7 +299,7 @@ void MaildirResource::synchronizeMails(Akonadi2::Storage::Transaction &transacti | |||
299 | mail.setProperty("subject", msg->subject(true)->asUnicodeString()); | 299 | mail.setProperty("subject", msg->subject(true)->asUnicodeString()); |
300 | mail.setProperty("sender", msg->from(true)->asUnicodeString()); | 300 | mail.setProperty("sender", msg->from(true)->asUnicodeString()); |
301 | mail.setProperty("senderName", msg->from(true)->asUnicodeString()); | 301 | mail.setProperty("senderName", msg->from(true)->asUnicodeString()); |
302 | mail.setProperty("date", msg->date(true)->dateTime().toString()); | 302 | mail.setProperty("date", msg->date(true)->dateTime()); |
303 | mail.setProperty("folder", resolveRemoteId(ENTITY_TYPE_FOLDER, path, synchronizationTransaction)); | 303 | mail.setProperty("folder", resolveRemoteId(ENTITY_TYPE_FOLDER, path, synchronizationTransaction)); |
304 | mail.setProperty("mimeMessage", filepath); | 304 | mail.setProperty("mimeMessage", filepath); |
305 | mail.setProperty("unread", !flags.testFlag(KPIM::Maildir::Seen)); | 305 | mail.setProperty("unread", !flags.testFlag(KPIM::Maildir::Seen)); |