TextEditor: Remove now unneeded BaseTextEditorWidget::editor()

Change-Id: I5e481fd9c31733d033602d152ec42af6e5a09951
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-09-02 08:58:52 +02:00
parent 6109ec905f
commit 47f10e3bad
2 changed files with 0 additions and 11 deletions

View File

@@ -890,15 +890,6 @@ int BaseTextEditorWidgetPrivate::visualIndent(const QTextBlock &block) const
return 0;
}
BaseTextEditor *BaseTextEditorWidget::editor() const
{
if (!d->m_editor) {
QTC_CHECK("should not happen anymore" && false);
const_cast<BaseTextEditorWidget *>(this)->setupFallBackEditor(Id());
}
return d->m_editor;
}
void BaseTextEditorWidget::selectEncoding()
{
BaseTextDocument *doc = d->m_document.data();