Commit 044e91df authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer

parent bb42bcbf
Pipeline #102133 passed with stage
in 6 minutes and 27 seconds
......@@ -246,7 +246,7 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg,
, mIncorrectIdentityFolderWarning(new IncorrectIdentityFolderWarning(this))
, mPluginEditorManagerInterface(new KMailPluginEditorManagerInterface(this))
, mPluginEditorGrammarManagerInterface(new KMailPluginGrammarEditorManagerInterface(this))
, mAttachmentFromExternalMissing(new AttachmentAddedFromExternalWarning(this))
{
mGlobalAction = new KMComposerGlobalAction(this, this);
mComposerBase = new MessageComposer::ComposerViewBase(this, this);
......@@ -378,7 +378,6 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg,
vbox->addWidget(mIncorrectIdentityFolderWarning);
mAttachmentFromExternalMissing = new AttachmentAddedFromExternalWarning(this);
vbox->addWidget(mAttachmentFromExternalMissing);
vbox->addWidget(mTooMyRecipientWarning);
......
......@@ -701,7 +701,7 @@ private:
KMailPluginEditorConvertTextManagerInterface *mPluginEditorConvertTextManagerInterface = nullptr;
KMailPluginGrammarEditorManagerInterface *const mPluginEditorGrammarManagerInterface;
AttachmentAddedFromExternalWarning *mAttachmentFromExternalMissing = nullptr;
AttachmentAddedFromExternalWarning *const mAttachmentFromExternalMissing;
KHamburgerMenu *mHamburgerMenu = nullptr;
ModeType mModeType = ModeType::ComposerType;
......
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