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
4a2c01d2
Commit
4a2c01d2
authored
Nov 25, 2021
by
Laurent Montel
Browse files
Const'ify pointer here.
parent
c636ef4c
Pipeline
#100836
passed with stage
in 24 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/editor/kmcomposerwin.cpp
View file @
4a2c01d2
...
...
@@ -238,6 +238,8 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg,
,
mFolder
(
Akonadi
::
Collection
(
-
1
))
,
mId
(
id
)
,
mContext
(
context
)
,
mAttachmentMissing
(
new
AttachmentMissingWarning
(
this
))
,
mExternalEditorWarning
(
new
ExternalEditorWarning
(
this
))
,
mTooMyRecipientWarning
(
new
TooManyRecipientsWarning
(
this
))
,
mIncorrectIdentityFolderWarning
(
new
IncorrectIdentityFolderWarning
(
this
))
,
mPluginEditorManagerInterface
(
new
KMailPluginEditorManagerInterface
(
this
))
...
...
@@ -359,7 +361,6 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg,
connect
(
mPotentialPhishingEmailWarning
,
&
PotentialPhishingEmailWarning
::
sendNow
,
this
,
&
KMComposerWin
::
slotCheckSendNowStep2
);
vbox
->
addWidget
(
mPotentialPhishingEmailWarning
);
mAttachmentMissing
=
new
AttachmentMissingWarning
(
this
);
connect
(
mAttachmentMissing
,
&
AttachmentMissingWarning
::
attachMissingFile
,
this
,
&
KMComposerWin
::
slotAttachMissingFile
);
connect
(
mAttachmentMissing
,
&
AttachmentMissingWarning
::
explicitClosedMissingAttachment
,
this
,
&
KMComposerWin
::
slotExplicitClosedMissingAttachment
);
vbox
->
addWidget
(
mAttachmentMissing
);
...
...
@@ -437,7 +438,6 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg,
}
connect
(
attachmentController
,
&
KMail
::
AttachmentController
::
fileAttached
,
mAttachmentMissing
,
&
AttachmentMissingWarning
::
slotFileAttached
);
mExternalEditorWarning
=
new
ExternalEditorWarning
(
this
);
v
->
addWidget
(
mExternalEditorWarning
);
mPluginEditorManagerInterface
->
setParentWidget
(
this
);
...
...
src/editor/kmcomposerwin.h
View file @
4a2c01d2
...
...
@@ -676,8 +676,8 @@ private:
MailCommon
::
SnippetTreeView
*
mSnippetWidget
=
nullptr
;
PimCommon
::
CustomToolsWidgetNg
*
mCustomToolsWidget
=
nullptr
;
AttachmentMissingWarning
*
mAttachmentMissing
=
nullptr
;
ExternalEditorWarning
*
mExternalEditorWarning
=
nullptr
;
AttachmentMissingWarning
*
const
mAttachmentMissing
;
ExternalEditorWarning
*
const
mExternalEditorWarning
;
TooManyRecipientsWarning
*
const
mTooMyRecipientWarning
;
QTimer
*
mVerifyMissingAttachment
=
nullptr
;
MailCommon
::
FolderRequester
*
mFccFolder
=
nullptr
;
...
...
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