From 80e7e70889e86a43fb3029edf0137bd6d9d323c7 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 5 Feb 2020 14:23:38 +0100 Subject: [PATCH] TextEditor: Remove unused TextEditorFactory::setEditorActionHandlers ... overload. Change-Id: I0bab88e1b3c40b7c34cda578209e9d150c2d56b4 Reviewed-by: David Schulz --- src/plugins/texteditor/texteditor.cpp | 5 ----- src/plugins/texteditor/texteditor.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/plugins/texteditor/texteditor.cpp b/src/plugins/texteditor/texteditor.cpp index 77e5e50bf88..e4cd12d1a3b 100644 --- a/src/plugins/texteditor/texteditor.cpp +++ b/src/plugins/texteditor/texteditor.cpp @@ -8600,11 +8600,6 @@ void TextEditorFactory::setAutoCompleterCreator(const AutoCompleterCreator &crea d->m_autoCompleterCreator = creator; } -void TextEditorFactory::setEditorActionHandlers(Id contextId, uint optionalActions) -{ - new TextEditorActionHandler(this, id(), contextId, optionalActions); -} - void TextEditorFactory::setEditorActionHandlers(uint optionalActions) { new TextEditorActionHandler(this, id(), id(), optionalActions); diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h index 6b2156cb25c..63c1ecee44a 100644 --- a/src/plugins/texteditor/texteditor.h +++ b/src/plugins/texteditor/texteditor.h @@ -653,8 +653,6 @@ public: void setSyntaxHighlighterCreator(const SyntaxHighLighterCreator &creator); void setUseGenericHighlighter(bool enabled); void setAutoCompleterCreator(const AutoCompleterCreator &creator); - - void setEditorActionHandlers(Core::Id contextId, uint optionalActions); void setEditorActionHandlers(uint optionalActions); void addHoverHandler(BaseHoverHandler *handler);