Commit 91979508 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up

parent cddea235
......@@ -39,16 +39,13 @@ public:
: q(qq)
, mContact(contact)
, mParentWidget(parentWidget)
, mShowMessageBox(true)
{
}
Private(AddContactJob *qq, const KContacts::Addressee &contact, const Akonadi::Collection &collection)
: q(qq)
, mContact(contact)
, mParentWidget(nullptr)
, mCollection(collection)
, mShowMessageBox(true)
{
}
......@@ -138,11 +135,11 @@ public:
q->emitResult();
}
AddContactJob *q;
AddContactJob *q = nullptr;
KContacts::Addressee mContact;
QWidget *mParentWidget = nullptr;
Akonadi::Collection mCollection;
bool mShowMessageBox = false;
bool mShowMessageBox = true;
};
AddContactJob::AddContactJob(const KContacts::Addressee &contact, QWidget *parentWidget, QObject *parent)
......
......@@ -278,7 +278,7 @@ public:
}
}
AddEmailAddressJob *q;
AddEmailAddressJob *q = nullptr;
QString mCompleteAddress;
QString mEmail;
QString mName;
......
......@@ -265,7 +265,7 @@ public:
q->emitResult();
}
AddEmailDisplayJob *q;
AddEmailDisplayJob *q = nullptr;
Akonadi::Item contact;
Akonadi::Item::Id messageId;
QString mCompleteAddress;
......
......@@ -93,7 +93,7 @@ public:
q->emitResult();
}
OpenEmailAddressJob *q;
OpenEmailAddressJob *q = nullptr;
QString mCompleteAddress;
QString mEmail;
QString mName;
......
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