Commit e4c181f2 authored by Laurent Montel's avatar Laurent Montel 😁

initialize pointer

parent 0bb76d06
......@@ -43,6 +43,7 @@ class Akonadi::CollectionFetchJobPrivate : public JobPrivate
public:
CollectionFetchJobPrivate(CollectionFetchJob *parent)
: JobPrivate(parent)
, mType(CollectionFetchJob::Base)
, mEmitTimer(0)
, mBasePrefetch(false)
{
......
......@@ -39,7 +39,9 @@ class JobPrivate
public:
explicit JobPrivate(Job *parent)
: q_ptr(parent)
, mParentJob(Q_NULLPTR)
, mCurrentSubJob(0)
, mTag(-1)
, mSession(0)
, mWriteFinished(false)
, mStarted(false)
......
......@@ -29,6 +29,7 @@
using namespace Akonadi;
PluginMetaData::PluginMetaData()
: loaded(false)
{
}
......
......@@ -72,6 +72,8 @@ class Q_DECL_HIDDEN AgentActionManager::Private
public:
Private(AgentActionManager *parent)
: q(parent)
, mActionCollection(Q_NULLPTR)
, mParentWidget(Q_NULLPTR)
, mSelectionModel(0)
{
mActions.fill(0, AgentActionManager::LastType);
......
......@@ -36,7 +36,8 @@ class Q_DECL_HIDDEN AgentTypeDialog::Private
{
public:
Private(AgentTypeDialog *qq)
: q(qq)
: Widget(Q_NULLPTR),
q(qq)
{
}
......
......@@ -59,7 +59,10 @@ class Q_DECL_HIDDEN AgentTypeWidget::Private
{
public:
Private(AgentTypeWidget *parent)
: mParent(parent)
: mParent(parent),
mView(Q_NULLPTR),
mModel(Q_NULLPTR),
proxyModel(Q_NULLPTR)
{
}
......
......@@ -82,6 +82,7 @@ TagEditWidget::Private::Private(Akonadi::TagModel *model, QWidget *parent)
, d(parent)
, m_model(model)
, m_tagsView(0)
, m_checkableProxy(Q_NULLPTR)
, m_newTagButton(0)
, m_newTagEdit(0)
, m_deleteButton(0)
......
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