Commit 6f8c42f1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use KMime::Message::mimeType

svn path=/trunk/KDE/kdepim/kmail/; revision=1158243
parent 3edb0867
......@@ -458,7 +458,7 @@ KMComposeWin::~KMComposeWin()
if ( mFolder.isValid() && mMsg ) {
Akonadi::Item item;
item.setPayload( mMsg );
item.setMimeType( "message/rfc822" );
item.setMimeType( KMime::Message::mimeType() );
MessageStatus status;
status.setRead();
item.setFlags( status.statusFlags() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment