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

const'ify pointer

parent 59ad6935
Pipeline #60304 passed with stage
in 22 minutes and 41 seconds
......@@ -232,19 +232,20 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg,
, mFolder(Akonadi::Collection(-1))
, mId(id)
, mContext(context)
, mPluginEditorManagerInterface(new KMailPluginEditorManagerInterface(this))
, mPluginEditorGrammarManagerInterface(new KMailPluginGrammarEditorManagerInterface(this))
{
mGlobalAction = new KMComposerGlobalAction(this, this);
mComposerBase = new MessageComposer::ComposerViewBase(this, this);
mComposerBase->setIdentityManager(kmkernel->identityManager());
mPluginEditorManagerInterface = new KMailPluginEditorManagerInterface(this);
connect(mPluginEditorManagerInterface, &KMailPluginEditorManagerInterface::message, this, &KMComposerWin::slotMessage);
connect(mPluginEditorManagerInterface, &KMailPluginEditorManagerInterface::insertText, this, &KMComposerWin::slotEditorPluginInsertText);
mPluginEditorCheckBeforeSendManagerInterface = new KMailPluginEditorCheckBeforeSendManagerInterface(this);
mPluginEditorInitManagerInterface = new KMailPluginEditorInitManagerInterface(this);
mPluginEditorConvertTextManagerInterface = new KMailPluginEditorConvertTextManagerInterface(this);
mPluginEditorGrammarManagerInterface = new KMailPluginGrammarEditorManagerInterface(this);
connect(mComposerBase, &MessageComposer::ComposerViewBase::disableHtml, this, &KMComposerWin::disableHtml);
connect(mComposerBase, &MessageComposer::ComposerViewBase::enableHtml, this, &KMComposerWin::enableHtml);
......
......@@ -681,11 +681,11 @@ private:
KMComposerGlobalAction *mGlobalAction = nullptr;
KPIMTextEdit::RichTextEditorWidget *mRichTextEditorwidget = nullptr;
KMailPluginEditorManagerInterface *mPluginEditorManagerInterface = nullptr;
KMailPluginEditorManagerInterface *const mPluginEditorManagerInterface;
KMailPluginEditorCheckBeforeSendManagerInterface *mPluginEditorCheckBeforeSendManagerInterface = nullptr;
KMailPluginEditorInitManagerInterface *mPluginEditorInitManagerInterface = nullptr;
KMailPluginEditorConvertTextManagerInterface *mPluginEditorConvertTextManagerInterface = nullptr;
KMailPluginGrammarEditorManagerInterface *mPluginEditorGrammarManagerInterface = nullptr;
KMailPluginGrammarEditorManagerInterface *const mPluginEditorGrammarManagerInterface;
AttachmentAddedFromExternalWarning *mAttachmentFromExternalMissing = 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