TextEditors: Move contentsChanged signal from editor to document

Change-Id: Ic935a8971705cb3238deda71aa2b5d19e4f62593
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Eike Ziller
2014-01-10 15:32:03 +01:00
parent ad4b589231
commit cfad9bdc3c
8 changed files with 13 additions and 17 deletions

View File

@@ -509,8 +509,6 @@ BaseTextEditor *BaseTextEditorWidget::editor() const
if (!d->m_editor) {
d->m_editor = const_cast<BaseTextEditorWidget *>(this)->createEditor();
d->m_codeAssistant->configure(d->m_editor);
connect(this, SIGNAL(textChanged()),
d->m_editor, SIGNAL(contentsChanged()));
}
return d->m_editor;
}