diff options
author | hjk <hjk121@nokiamail.com> | 2014-09-02 08:58:52 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-09-02 13:15:15 +0200 |
commit | 47f10e3bad02058d72103ffc40557409f4cb59a1 (patch) | |
tree | 57bb6f55c55c981b54ba0d484202ccdb3fa5b760 /src/plugins/texteditor/basetexteditor.cpp | |
parent | 6109ec905f169d28c47a21284852e3cb693f3b35 (diff) |
TextEditor: Remove now unneeded BaseTextEditorWidget::editor()
Change-Id: I5e481fd9c31733d033602d152ec42af6e5a09951
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/basetexteditor.cpp')
-rw-r--r-- | src/plugins/texteditor/basetexteditor.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 08d716f626..faa53e44e3 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -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(); |