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

Const'ify

parent 693c42cb
......@@ -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);
......
......@@ -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;
};
}
......
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