Commit 47f10e3b authored by hjk's avatar hjk
Browse files

TextEditor: Remove now unneeded BaseTextEditorWidget::editor()



Change-Id: I5e481fd9c31733d033602d152ec42af6e5a09951
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 6109ec90
......@@ -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();
......
......@@ -247,8 +247,6 @@ public:
int at = -1) const;
void convertPosition(int pos, int *line, int *column) const;
BaseTextEditor *editor() const;
void print(QPrinter *);
void appendStandardContextMenuActions(QMenu *menu);
......
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