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

Const'ify pointer here too

parent ad3718c7
Pipeline #58610 canceled with stage
......@@ -19,9 +19,9 @@
MailKernel::MailKernel(const KSharedConfigPtr &config, QObject *parent)
: QObject(parent)
, mConfig(config)
, mIdentityManager(new KIdentityManagement::IdentityManager(true, this))
, mMessageSender(new MessageComposer::AkonadiSender(this))
{
mMessageSender = new MessageComposer::AkonadiSender(this);
mIdentityManager = new KIdentityManagement::IdentityManager(true, this);
auto session = new Akonadi::Session("UnifiedMailbox Kernel ETM", this);
mFolderCollectionMonitor = new MailCommon::FolderCollectionMonitor(session, this);
......
......@@ -49,8 +49,8 @@ private:
Q_DISABLE_COPY(MailKernel)
KSharedConfigPtr mConfig;
KIdentityManagement::IdentityManager *mIdentityManager = nullptr;
MessageComposer::MessageSender *mMessageSender = nullptr;
KIdentityManagement::IdentityManager *const mIdentityManager;
MessageComposer::MessageSender *const mMessageSender;
MailCommon::FolderCollectionMonitor *mFolderCollectionMonitor = nullptr;
Akonadi::EntityTreeModel *mEntityTreeModel = nullptr;
Akonadi::EntityMimeTypeFilterModel *mCollectionModel = nullptr;
......
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