|
|
|
|
@ -362,7 +362,7 @@ KMComposerWin::KMComposerWin(const KMime::Message::Ptr &aMsg, bool lastSignState |
|
|
|
|
mRichTextEditorwidget = new KPIMTextEdit::RichTextEditorWidget(composerEditorNg, mCryptoStateIndicatorWidget); |
|
|
|
|
|
|
|
|
|
//Don't use new connect api here. It crashs
|
|
|
|
|
connect(composerEditorNg, SIGNAL(textChanged()), this, SLOT(slotEditorTextChanged())); |
|
|
|
|
connect(composerEditorNg, &QTextEdit::textChanged, this, &KMComposerWin::slotEditorTextChanged); |
|
|
|
|
connect(composerEditorNg, &KMComposerEditorNg::selectionChanged, this, &KMComposerWin::slotSelectionChanged); |
|
|
|
|
//connect(editor, &KMComposerEditor::textChanged, this, &KMComposeWin::slotEditorTextChanged);
|
|
|
|
|
mComposerBase->setEditor(composerEditorNg); |
|
|
|
|
|