Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4ed1c432 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize pointer

parent 320e0218
......@@ -58,7 +58,7 @@ private:
void indexTodoItem(const Akonadi::Item &item, const KCalCore::Todo::Ptr &todo);
void updateIncidenceItem(const KCalCore::Incidence::Ptr &calInc);
Akonadi::Search::XapianDatabase *m_db;
Akonadi::Search::XapianDatabase *m_db = nullptr;
};
#endif // CALENDARINDEXER_H
......@@ -47,7 +47,7 @@ private:
bool indexContact(const Akonadi::Item &item);
void indexContactGroup(const Akonadi::Item &item);
Akonadi::Search::XapianDatabase *m_db;
Akonadi::Search::XapianDatabase *m_db = nullptr;
};
#endif // CONTACTINDEXER_H
......@@ -41,7 +41,7 @@ public:
}
AkonadiSearchDebugWidget *mAkonadiSearchDebugWidget;
AkonadiSearchDebugWidget *mAkonadiSearchDebugWidget = nullptr;
};
AkonadiSearchDebugDialog::AkonadiSearchDebugDialog(QWidget *parent)
......
......@@ -50,7 +50,7 @@ public:
void setAutoExapand(bool autoexpand);
private:
Xapian::Database *m_db;
Xapian::Database *m_db = nullptr;
bool m_autoExpand;
};
......
......@@ -127,7 +127,7 @@ private:
QString m_dbPath;
Xapian::Database *m_db;
Xapian::Database *m_db = nullptr;
};
}
......
......@@ -45,7 +45,7 @@ public:
static QStringList termList(const QString &text);
private:
Xapian::Document *m_doc;
Xapian::Document *m_doc = nullptr;
Xapian::TermGenerator m_termGen;
int m_position;
......
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