summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-09 13:30:33 +0200
committerMontel Laurent <[email protected]>2017-10-09 13:30:33 +0200
commita24f66acb9f5275bf0ca7d6ed16599ff8ac9feb2 (patch)
tree81508ff91a19f6d2ca8697c139ef001862a41b5e
parent40dc13908ed7696312fea60201e7ea2b67e45940 (diff)
Remove redundant check
-rw-r--r--korgac/mailclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korgac/mailclient.cpp b/korgac/mailclient.cpp
index 7512864..452bb2e 100644
--- a/korgac/mailclient.cpp
+++ b/korgac/mailclient.cpp
@@ -342,7 +342,7 @@ bool MailClient::send(const KIdentityManagement::Identity &identity,
}
}
- if (transport && transport->specifySenderOverwriteAddress()) {
+ if (transport->specifySenderOverwriteAddress()) {
qjob->addressAttribute().setFrom(
KEmailAddress::extractEmailAddress(
KEmailAddress::normalizeAddressesAndEncodeIdn(transport->senderOverwriteAddress())));