Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
044e91df
Commit
044e91df
authored
Nov 28, 2021
by
Laurent Montel
Browse files
Const'ify pointer
parent
bb42bcbf
Pipeline
#102133
passed with stage
in 6 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/editor/kmcomposerwin.cpp
View file @
044e91df
...
...
@@ -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
);
...
...
src/editor/kmcomposerwin.h
View file @
044e91df
...
...
@@ -701,7 +701,7 @@ private:
KMailPluginEditorConvertTextManagerInterface
*
mPluginEditorConvertTextManagerInterface
=
nullptr
;
KMailPluginGrammarEditorManagerInterface
*
const
mPluginEditorGrammarManagerInterface
;
AttachmentAddedFromExternalWarning
*
mAttachmentFromExternalMissing
=
nullptr
;
AttachmentAddedFromExternalWarning
*
const
mAttachmentFromExternalMissing
;
KHamburgerMenu
*
mHamburgerMenu
=
nullptr
;
ModeType
mModeType
=
ModeType
::
ComposerType
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment