diff --git a/src/plugins/texteditor/texteditor.cpp b/src/plugins/texteditor/texteditor.cpp index f1acff134b6..ad76a5c832c 100644 --- a/src/plugins/texteditor/texteditor.cpp +++ b/src/plugins/texteditor/texteditor.cpp @@ -9687,12 +9687,6 @@ void BaseTextEditor::contextHelp(const HelpCallback &callback) const editorWidget()->contextHelpItem(callback); } -void BaseTextEditor::setContextHelp(const HelpItem &item) -{ - IEditor::setContextHelp(item); - editorWidget()->setContextHelpItem(item); -} - void TextEditorWidget::contextHelpItem(const IContext::HelpCallback &callback) { if (!d->m_contextHelpItem.isEmpty()) { diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h index b9555bde346..08c2eebd01d 100644 --- a/src/plugins/texteditor/texteditor.h +++ b/src/plugins/texteditor/texteditor.h @@ -136,7 +136,6 @@ public: QWidget *toolBar() override; void contextHelp(const HelpCallback &callback) const override; // from IContext - void setContextHelp(const Core::HelpItem &item) override; int currentLine() const override; int currentColumn() const override;