aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-05 20:33:05 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-05 20:33:28 (GMT)
commit2705260d76e243b9daf290275f5ed502e3cc4c5e (patch)
tree6578bd25823103958ab2babd8ff3d709728d5c3b
parentaffc3f857e1e2134bb431f2642cd63dbba005c4e (diff)
Remove unused variable + fix typo
-rw-r--r--src/mailclient_p.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mailclient_p.cpp b/src/mailclient_p.cpp
index 5722ec3..e92bfff 100644
--- a/src/mailclient_p.cpp
+++ b/src/mailclient_p.cpp
@@ -192,8 +192,6 @@ void MailClient::send(const KCalCore::IncidenceBase::Ptr &incidence,
{
Q_UNUSED(hidden);
- UnitTestResult unitTestResult;
-
if (!MailTransport::TransportManager::self()->showTransportCreationDialog(
Q_NULLPTR, MailTransport::TransportManager::IfNoTransportExists)) {
qCritical() << "Error while creating transport";
@@ -300,7 +298,7 @@ void MailClient::send(const KCalCore::IncidenceBase::Ptr &incidence,
bodyMessage->setHeader(bodyDisposition);
message->addContent(bodyMessage);
- // Set the sedcond multipart, the attachment.
+ // Set the second multipart, the attachment.
if (!attachment.isEmpty()) {
KMime::Content *attachMessage = new KMime::Content;
KMime::Headers::ContentDisposition *attachDisposition = new KMime::Headers::ContentDisposition;