diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-11 11:12:12 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-11 11:12:12 +0200 |
commit | aaf114296e50bfa93b831491738cd0a780085c3d (patch) | |
tree | 2ee864ac6bf39e2b856ffaf0137dd78fda40c7d8 /framework/domain/actions | |
parent | df10583b42f49a58d27dd6dd322f22fd88ce1418 (diff) | |
download | kube-aaf114296e50bfa93b831491738cd0a780085c3d.tar.gz kube-aaf114296e50bfa93b831491738cd0a780085c3d.zip |
Let the controller retrieve what it requires, remember the id of the
draft to modfiy.
Diffstat (limited to 'framework/domain/actions')
-rw-r--r-- | framework/domain/actions/sinkactions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/domain/actions/sinkactions.cpp b/framework/domain/actions/sinkactions.cpp index 354a5aca..129b538a 100644 --- a/framework/domain/actions/sinkactions.cpp +++ b/framework/domain/actions/sinkactions.cpp | |||
@@ -130,7 +130,7 @@ static ActionHandlerHelper saveAsDraft("org.kde.kube.actions.save-as-draft", | |||
130 | return Sink::Store::create(mail); | 130 | return Sink::Store::create(mail); |
131 | }); | 131 | }); |
132 | } else { | 132 | } else { |
133 | qWarning() << "Modifying an existing mail"; | 133 | qWarning() << "Modifying an existing mail" << existingMail.identifier(); |
134 | existingMail.setBlobProperty("mimeMessage", message->encodedContent()); | 134 | existingMail.setBlobProperty("mimeMessage", message->encodedContent()); |
135 | return Sink::Store::modify(existingMail); | 135 | return Sink::Store::modify(existingMail); |
136 | } | 136 | } |