Skip to content
GitLab
Menu
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
83850814
Commit
83850814
authored
Sep 14, 2020
by
Laurent Montel
😁
Browse files
Const'ify
parent
693c42cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/messageactions.cpp
View file @
83850814
...
...
@@ -58,8 +58,8 @@ using namespace KMail;
MessageActions
::
MessageActions
(
KActionCollection
*
ac
,
QWidget
*
parent
)
:
QObject
(
parent
)
,
mParent
(
parent
)
,
mWebShortcutMenuManager
(
new
KIO
::
KUriFilterSearchProviderActions
(
this
))
{
mWebShortcutMenuManager
=
new
KIO
::
KUriFilterSearchProviderActions
(
this
);
mReplyActionMenu
=
new
KActionMenu
(
QIcon
::
fromTheme
(
QStringLiteral
(
"mail-reply-sender"
)),
i18nc
(
"Message->"
,
"&Reply"
),
this
);
ac
->
addAction
(
QStringLiteral
(
"message_reply_menu"
),
mReplyActionMenu
);
connect
(
mReplyActionMenu
,
&
KActionMenu
::
triggered
,
this
,
&
MessageActions
::
slotReplyToMsg
);
...
...
src/messageactions.h
View file @
83850814
...
...
@@ -163,7 +163,7 @@ private:
QAction
*
mDebugAkonadiSearchAction
=
nullptr
;
QAction
*
mSendAgainAction
=
nullptr
;
QAction
*
mNewMessageFromTemplateAction
=
nullptr
;
KIO
::
KUriFilterSearchProviderActions
*
mWebShortcutMenuManager
=
nullptr
;
KIO
::
KUriFilterSearchProviderActions
*
const
mWebShortcutMenuManager
;
QAction
*
mExportToPdfAction
=
nullptr
;
};
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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