Commit 0dbec00c authored by Laurent Montel's avatar Laurent Montel 😁

Initialize variable. Move method to private

parent cdd7ca54
......@@ -47,7 +47,7 @@ private Q_SLOTS:
void finalize();
private:
bool mFinished;
bool mFinished = false;
Akonadi::CalendarBase::Ptr mCalendar;
};
}
......
......@@ -32,7 +32,6 @@ class KJob;
namespace MessageViewer {
struct VCard {
VCard()
: found(false)
{
}
......@@ -44,7 +43,7 @@ struct VCard {
KContacts::Addressee address;
QString email;
bool found;
bool found = false;
};
class VcardMemento : public QObject, public MimeTreeParser::Interface::BodyPartMemento
......@@ -62,14 +61,13 @@ public:
KContacts::Addressee address(int index) const;
private Q_SLOTS:
void slotSearchJobFinished(KJob *job);
Q_SIGNALS:
// TODO: Factor our update and detach into base class
void update(MimeTreeParser::UpdateMode);
private:
void slotSearchJobFinished(KJob *job);
void checkEmail();
void continueToCheckEmail();
QVector<VCard> mVCardList;
......
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