Commit 800aadf1 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize pointer

parent 716f79a8
......@@ -58,10 +58,10 @@ public:
void expunge(Akonadi::Collection::Id col, bool sync) override;
private:
KIdentityManagement::IdentityManager *mIdentityManager;
MailCommon::FolderCollectionMonitor *mFolderCollectionMonitor;
Akonadi::EntityTreeModel *mEntityTreeModel;
Akonadi::EntityMimeTypeFilterModel *mCollectionModel;
KIdentityManagement::IdentityManager *mIdentityManager= nullptr;
MailCommon::FolderCollectionMonitor *mFolderCollectionMonitor= nullptr;
Akonadi::EntityTreeModel *mEntityTreeModel= nullptr;
Akonadi::EntityMimeTypeFilterModel *mCollectionModel= nullptr;
};
#endif
......@@ -54,7 +54,7 @@ Q_SIGNALS:
void importMailsClicked();
private:
Ui::MBoxImportWidget *ui;
Ui::MBoxImportWidget *ui= nullptr;
};
#endif // MBOXIMPORTWIDGET_H
......@@ -35,7 +35,7 @@ private Q_SLOTS:
private:
QString mFileName;
MBoxImportWidget *mImportWidget;
MBoxImportWidget *mImportWidget = nullptr;
};
#endif // MBOXMAINWINDOW_H
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