summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-17 21:52:40 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-17 21:52:40 (GMT)
commit3afd8dfafb9fc09fa52bc7a16fb2369ef36a7620 (patch)
tree7bf518261ea67a7165a5f229fa4438304b6c9862
parentb6fef0529619a40642724deff4f088cbc066bf4e (diff)
Verify proto pointer
-rw-r--r--messagecomposer/src/job/signencryptjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messagecomposer/src/job/signencryptjob.cpp b/messagecomposer/src/job/signencryptjob.cpp
index 9423b0e..55eadf4 100644
--- a/messagecomposer/src/job/signencryptjob.cpp
+++ b/messagecomposer/src/job/signencryptjob.cpp
@@ -165,7 +165,7 @@ void SignEncryptJob::process()
} else {
return;
}
-
+ Q_ASSERT(proto);
//d->resultContent = new KMime::Content;
qCDebug(MESSAGECOMPOSER_LOG) << "creating signencrypt from:" << proto->name() << proto->displayName();