summaryrefslogtreecommitdiffstats
path: root/examples/qtmail/app/emailclient.cpp
diff options
context:
space:
mode:
authorDon Sanders <don.sanders@nokia.com>2010-06-21 17:05:53 +1000
committerDon Sanders <don.sanders@nokia.com>2010-06-21 17:05:53 +1000
commit960f58041c78fd62cdb3f6fe5960c203ab859ffc (patch)
tree3a6ed256d5050389143d9b67fdb503808646c00e /examples/qtmail/app/emailclient.cpp
parent847157bdc39bd60985f8e10e7d0af79f39b6e335 (diff)
Fixes: Set ForwardFlag when forwarding a message part using
forward w/o download, otherwise service actions complain about no flags to set. Perhaps service actions should just succeed silently rather than complain if they have nothing to do.
Diffstat (limited to 'examples/qtmail/app/emailclient.cpp')
-rw-r--r--examples/qtmail/app/emailclient.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qtmail/app/emailclient.cpp b/examples/qtmail/app/emailclient.cpp
index c6f0be28..236d9eaf 100644
--- a/examples/qtmail/app/emailclient.cpp
+++ b/examples/qtmail/app/emailclient.cpp
@@ -2124,6 +2124,7 @@ void EmailClient::respond(const QMailMessagePart::Location& partLocation, QMailM
}
repliedFromMailId = partLocation.containingMessageId();
+ repliedFlags = QMailMessage::Forwarded;
writeMailWidget()->respond(partLocation, type);
if (!writeMailWidget()->composer().isEmpty()) {