Commit cb95a18c authored by Sandro Knauß's avatar Sandro Knauß
Browse files

Fix small copy typo.

parent a82ca524
......@@ -25,7 +25,7 @@ DraftEncryptionState::DraftEncryptionState(const KMime::Message::Ptr &msg)
void DraftEncryptionState::setState(bool encrypt)
{
auto hdr = new KMime::Headers::Generic("X-KMail-EncryptActionEnabled");
hdr->fromUnicodeString(sign ? QStringLiteral("true") : QStringLiteral("false"), "utf-8");
hdr->fromUnicodeString(encrypt ? QStringLiteral("true") : QStringLiteral("false"), "utf-8");
mMsg->setHeader(hdr);
}
......
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